From 8c0e8b5bf73caaf2fd6f04fb97b9c13f2970c431 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 3 May 2024 13:59:15 +0200 Subject: update --- Scenes/UI/Menu.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Scenes/UI/Menu.gd') diff --git a/Scenes/UI/Menu.gd b/Scenes/UI/Menu.gd index ee320a2..ce45a26 100644 --- a/Scenes/UI/Menu.gd +++ b/Scenes/UI/Menu.gd @@ -50,7 +50,8 @@ func close_menu(): func get_player(): - return get_tree().get_current_scene().get_node("Player") + return Global.player + #return get_tree().get_current_scene().get_node("Player") ### Bombs ### -- cgit v1.2.3