Removed unused variable
This commit is contained in:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user