game over screen

This commit is contained in:
pennyrigate 2023-10-05 18:49:07 -04:00
parent e49de76c47
commit 035bd68980
7 changed files with 68 additions and 12 deletions

View file

@ -181,7 +181,3 @@ func _enter_code():
dir.list_dir_end()
"SKELETON":
Game.keys = 50
"GOVERMAN":
var map = get_tree().get_nodes_in_group("map").pop_back()
var gover = load("res://menus/game_over.tscn").instance()
map.add_child(gover)