From 590e34c8eddc8d2f067049a7229b64b12145f475 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 17 Feb 2018 01:49:12 -0500 Subject: [PATCH] Fix players losing color on re-spawn --- scripts/player.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/player.gd b/scripts/player.gd index 29a4fbd..aea94d7 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -256,6 +256,7 @@ sync func switch_hero(hero): get_node("/root/Level/Players").call_deferred("add_child", new_hero) # We must wait until after _ready is called, so that we don't end up at spawn new_hero.call_deferred("set_status", get_status()) + new_hero.call_deferred("begin") queue_free() func _exit_tree():