Changed string to variable sho if I change the level folder in the future it won't break shit
This commit is contained in:
@ -36,5 +36,5 @@ func _on_item_list_item_clicked(index, at_position, mouse_button_index):
|
|||||||
$ItemList.hide()
|
$ItemList.hide()
|
||||||
$VBoxContainer.show()
|
$VBoxContainer.show()
|
||||||
else:
|
else:
|
||||||
GlobalSettings.current_map = "res://Assets/Levels/" + load_list[index]
|
GlobalSettings.current_map = level_folder + load_list[index]
|
||||||
emit_signal("startGame")
|
emit_signal("startGame")
|
||||||
|
|||||||
Reference in New Issue
Block a user