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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user