Fix bad lot comparison in AG Jet Effect Server (#1063)

This commit is contained in:
Aaron Kimbrell 2023-05-02 05:27:16 -05:00 committed by GitHub
parent 4976701f37
commit 2f919d101f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
);