summaryrefslogtreecommitdiff
path: root/scenes/pause.gd
blob: 546ae933769ea3ee246e230a4bdf7fdfad765ca6 (plain)
1
2
3
4
5
6
7
8
extends Node2D

onready var pause_menu = $"."

func pause():
	pause_menu.pause_mode = PAUSE_MODE_PROCESS
	get_tree().paused = true