Changed string to variable sho if I change the level folder in the future it won't break shit

This commit is contained in:
Willow Behar
2024-05-10 13:11:46 -05:00
parent d9effc7672
commit 181dd82ef2

View File

@ -36,5 +36,5 @@ func _on_item_list_item_clicked(index, at_position, mouse_button_index):
$ItemList.hide()
$VBoxContainer.show()
else:
GlobalSettings.current_map = "res://Assets/Levels/" + load_list[index]
GlobalSettings.current_map = level_folder + load_list[index]
emit_signal("startGame")