Mostly fixed

This commit is contained in:
Jan Schuffenhauer
2020-04-20 22:26:45 +02:00
parent 4175ff7bdd
commit 1299860e1f
10 changed files with 31 additions and 28 deletions

View File

@@ -40,6 +40,7 @@ func hero_has_died():
func spawn_new_hero(x:float,y:float):
var hero = HeroTemplate.instance()
hero.position=Vector2(x,y)
hero.name = "Player"
$YSort.add_child(hero)