mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
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;
|
||||
}
|
||||
|
||||
// Only goobers with a lock id or a reset time may reset their go state
|
||||
if (GetGOInfo()->GetLockId() || GetGOInfo()->GetAutoCloseTime())
|
||||
SetGoState(GO_STATE_READY);
|
||||
SetGoState(GO_STATE_READY);
|
||||
|
||||
//any return here in case battleground traps
|
||||
if (GameObjectOverride const* goOverride = GetGameObjectOverride())
|
||||
|
||||
Reference in New Issue
Block a user