diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-05-03 13:59:15 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-05-03 13:59:15 +0200 |
commit | 8c0e8b5bf73caaf2fd6f04fb97b9c13f2970c431 (patch) | |
tree | 990b6e09eb2f6b3cb494cca17726ceae1bc7891f /Scenes/UI | |
parent | 516d22c1737a9c94026b5ff0c9856bc5549aa416 (diff) |
update
Diffstat (limited to 'Scenes/UI')
-rw-r--r-- | Scenes/UI/Menu.gd | 3 |
1 files changed, 2 insertions, 1 deletions
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 ### |