From 1639778a6e4485d1751bffd8d1c104d34d21bc6d Mon Sep 17 00:00:00 2001 From: Henrique Alves Date: Sun, 17 Jul 2022 20:40:40 -0300 Subject: removed reset stage on esc --- Scenes/Dungeon.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scenes/Dungeon.gd b/Scenes/Dungeon.gd index 7247136..c1f6003 100644 --- a/Scenes/Dungeon.gd +++ b/Scenes/Dungeon.gd @@ -188,9 +188,9 @@ func _input(event): input = Vector2(+1,0) KEY_LEFT: input = Vector2(-1,0) - KEY_ESCAPE: - Global.turns = Global.STARTING_TURNS - get_tree().change_scene("res://Scenes/Dungeon.tscn") +# KEY_ESCAPE: +# Global.turns = Global.STARTING_TURNS +# get_tree().change_scene("res://Scenes/Dungeon.tscn") func move_entity(entity : Entity, dir : Vector2): var cur_tile = entities_tiles[entity] -- cgit v1.2.3