Removed unused variable

This commit is contained in:
Willow Behar
2024-05-09 18:41:23 -05:00
parent 6357f92d68
commit e20239108c
5 changed files with 10 additions and 7 deletions

View File

@ -1,6 +1,6 @@
extends Control
signal startGame(path)
signal startGame
var load_list = ["Back"]
@export var level_folder = "res://Assets/Levels"
@ -20,8 +20,8 @@ func _on_exit_pressed():
func _on_start_pressed():
emit_signal("startGame", "res://Assets/Levels/TestMapHospitalTextures.tscn")
GlobalSettings.current_map = "res://Assets/Levels/TestMapHospitalTextures.tscn"
emit_signal("startGame")
func _on_settings_pressed():
pass # Replace with function body.
@ -37,4 +37,4 @@ func _on_item_list_item_clicked(index, at_position, mouse_button_index):
$VBoxContainer.show()
else:
GlobalSettings.current_map = "res://Assets/Levels/" + load_list[index]
emit_signal("startGame", GlobalSettings.current_map)
emit_signal("startGame")