diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-02-14 14:53:17 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-02-14 14:53:17 +0100 |
commit | 7115379ccf5714816eeb91fc16d3a63e019c8082 (patch) | |
tree | f28c7595ca3f1324bcffadd40027df6c46f7d321 /Global.gd | |
parent | 332bab8de321d0358b30d5bf159cbda512c14852 (diff) |
Adds user configurable key bindings
Diffstat (limited to 'Global.gd')
-rw-r--r-- | Global.gd | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -169,3 +169,9 @@ func check_win_timer(): if has_won: emit_signal("game_won", Network.player) + + +func open_menu(): + var Menu = load("res://UI/Menu/Menu.tscn").instance() + get_tree().paused = true + get_tree().current_scene.add_child(Menu) |