Core/GameObjects: Allow reset for GAMEOBJECT_TYPE_GOOBER without lockId or autoCloseTime

Port From (https://github.com/TrinityCore/TrinityCore/commit/32270f1e5e5a28c5770cd730628a501d57c9710d)
This commit is contained in:
Hondacrx
2025-08-19 21:46:23 -04:00
parent 4d8ca7dc55
commit 80d1c24d7e
@@ -799,8 +799,6 @@ namespace Game.Entities
m_usetimes = 0;
}
// Only goobers with a lock id or a reset time may reset their go state
if (GetGoInfo().GetLockId() != 0 || GetGoInfo().GetAutoCloseTime() != 0)
SetGoState(GameObjectState.Ready);
//any return here in case Battleground traps