Core/Instances: Add instance reset events at lock expiration
Port From (https://github.com/TrinityCore/TrinityCore/commit/20357af88ec9265869cca3c1db3c5f43ef37e587)
This commit is contained in:
@@ -279,7 +279,6 @@ namespace Game.Maps
|
||||
|
||||
if (instanceLock.IsExpired())
|
||||
{
|
||||
Cypher.Assert(instanceLock.IsExtended(), "Instance lock must have been extended to create instance map from it");
|
||||
instanceLock.SetExpiryTime(GetNextResetTime(entries));
|
||||
instanceLock.SetExtended(false);
|
||||
Log.outDebug(LogFilter.Instance, $"[{entries.Map.Id}-{entries.Map.MapName[Global.WorldMgr.GetDefaultDbcLocale()]} | " +
|
||||
|
||||
Reference in New Issue
Block a user