Core/Commands: Fixes adding new creatures and gameobjects using in-game commands

This commit is contained in:
hondacrx
2021-01-14 11:18:21 -05:00
parent c5e3c4280c
commit cebee1621e
3 changed files with 8 additions and 4 deletions
@@ -950,7 +950,7 @@ namespace Game.Entities
Cypher.Assert(data.spawnId == m_spawnId);
data.Id = GetEntry();
data.spawnPoint = new WorldLocation(this);
data.spawnPoint.WorldRelocate(this);
data.rotation = m_worldRotation;
data.spawntimesecs = (int)(m_spawnedByDefault ? m_respawnDelayTime : -m_respawnDelayTime);
data.animprogress = GetGoAnimProgress();