Core/GameObjects: goobers will no longer reset their go state when they have no lock id or a reset time
This commit is contained in:
1 parent
ba88928ef9
commit
e1a8c04df7
1 file changed
+3
-1
@@ -662,7 +662,9 @@ void GameObject::Update(uint32 diff)
|
||||
m_usetimes = 0;
|
||||
}
|
||||
|
||||
SetGoState(GO_STATE_READY);
|
||||
// Only goobers with a lock id and a reset time may reset their go state
|
||||
if (GetGOInfo()->GetLockId() || GetGOInfo()->GetAutoCloseTime())
|
||||
SetGoState(GO_STATE_READY);
|
||||
|
||||
//any return here in case battleground traps
|
||||
if (GameObjectTemplateAddon const* addon = GetTemplateAddon())
|
||||
|
||||
Reference in new issue
Block a user