diff --git a/Source/Game/Entities/Corpse.cs b/Source/Game/Entities/Corpse.cs index 50816248e..29810c71c 100644 --- a/Source/Game/Entities/Corpse.cs +++ b/Source/Game/Entities/Corpse.cs @@ -89,9 +89,6 @@ namespace Game.Entities PhasingHandler.InheritPhaseShift(this, owner); - UpdatePositionData(); - SetZoneScript(); - return true; } diff --git a/Source/Game/Entities/Player/Player.cs b/Source/Game/Entities/Player/Player.cs index c5983f092..1a1777a4c 100644 --- a/Source/Game/Entities/Player/Player.cs +++ b/Source/Game/Entities/Player/Player.cs @@ -4536,6 +4536,9 @@ namespace Game.Entities // register for player, but not show GetMap().AddCorpse(corpse); + corpse.UpdatePositionData(); + corpse.SetZoneScript(); + // we do not need to save corpses for BG/arenas if (!GetMap().IsBattlegroundOrArena()) corpse.SaveToDB(); diff --git a/Source/Game/Maps/Map.cs b/Source/Game/Maps/Map.cs index 2865cdc94..4bc03ba2b 100644 --- a/Source/Game/Maps/Map.cs +++ b/Source/Game/Maps/Map.cs @@ -3411,11 +3411,11 @@ namespace Game.Maps PhasingHandler.InheritPhaseShift(bones, corpse); + AddCorpse(bones); + bones.UpdatePositionData(); bones.SetZoneScript(); - AddCorpse(bones); - // add bones in grid store if grid loaded where corpse placed AddToMap(bones); }