diff options
Diffstat (limited to 'Scenes/UI/Menu.gd')
-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 ### |