zombie position fixed
This commit is contained in:
parent
2731023cb3
commit
8da7ff54a6
2 changed files with 4 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ public partial class InitialPackedSceneSpawner : Node
|
|||
if (entity is RuntimeZombieData)
|
||||
{
|
||||
PoolContainer.Instance.Structures.AddChild(node);
|
||||
node.GlobalPosition = position;
|
||||
node.GlobalPosition = position + new Vector2(0,0.5f*FieldParams.TileHeight);
|
||||
}
|
||||
else if (entity is RuntimePlantData plant)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue