summaryrefslogtreecommitdiff
path: root/scenes/pause.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/pause.gd')
-rw-r--r--scenes/pause.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scenes/pause.gd b/scenes/pause.gd
index 57ab574..43a2d5b 100644
--- a/scenes/pause.gd
+++ b/scenes/pause.gd
@@ -6,7 +6,7 @@ onready var backgroud = $Sprite
func pause():
pause_menu.visible = true
pause_menu.pause_mode = PAUSE_MODE_PROCESS # to be save
- # get_tree().paused = true
+ get_tree().paused = true
func _ready():
@@ -15,7 +15,7 @@ func _ready():
func _on_Resume_on_click():
pause_menu.visible = false
- # get_tree().paused = false
+ get_tree().paused = false
func _on_Main_Menu_on_click():