From 2f919d101f00be8ecfdbeea3bb782b8ca52f24c4 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Tue, 2 May 2023 05:27:16 -0500 Subject: [PATCH] Fix bad lot comparison in AG Jet Effect Server (#1063) --- dScripts/ai/AG/AgJetEffectServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dScripts/ai/AG/AgJetEffectServer.cpp b/dScripts/ai/AG/AgJetEffectServer.cpp index 1811d491..3d132991 100644 --- a/dScripts/ai/AG/AgJetEffectServer.cpp +++ b/dScripts/ai/AG/AgJetEffectServer.cpp @@ -5,7 +5,7 @@ #include "eReplicaComponentType.h" void AgJetEffectServer::OnUse(Entity* self, Entity* user) { - if (inUse || !self->GetLOT() == 6859) return; + if (inUse || self->GetLOT() != 6859) return; GameMessages::SendNotifyClientObject( self->GetObjectID(), u"toggleInUse", 1, 0, LWOOBJID_EMPTY, "", UNASSIGNED_SYSTEM_ADDRESS );