forked from team-sg/hero-mark-2
stupid problems demand stupid solutions
This commit is contained in:
parent
16a152903f
commit
36bac00ac8
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ func _gui_input(event: InputEvent) -> void:
|
|||
else: # player has selected level
|
||||
if event.is_action_pressed("ui_start") or event.is_action_pressed("ui_accept"):
|
||||
starting_level = true
|
||||
$"%MenuPopup".rect_position.y = 9001
|
||||
Game.current_level = selected_level
|
||||
Game.change_map(LevelData.levels[selected_level].scene)
|
||||
elif event.is_action_pressed("ui_cancel"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue