Core/GameObjects: Allow reset for GAMEOBJECT_TYPE_GOOBER without lockId or autoCloseTime (#31079)
This commit is contained in:
@@ -1627,9 +1627,7 @@ void GameObject::Update(uint32 diff)
|
|||||||
m_usetimes = 0;
|
m_usetimes = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only goobers with a lock id or a reset time may reset their go state
|
SetGoState(GO_STATE_READY);
|
||||||
if (GetGOInfo()->GetLockId() || GetGOInfo()->GetAutoCloseTime())
|
|
||||||
SetGoState(GO_STATE_READY);
|
|
||||||
|
|
||||||
//any return here in case battleground traps
|
//any return here in case battleground traps
|
||||||
if (GameObjectOverride const* goOverride = GetGameObjectOverride())
|
if (GameObjectOverride const* goOverride = GetGameObjectOverride())
|
||||||
|
|||||||
Reference in New Issue
Block a user