feat(mvp): complete M13 clean-up milestone (real usernames, avatar studio redesign, pause menu, audio manager)
checkpoint / checkpoint (push) Successful in 6m22s
checkpoint / checkpoint (push) Successful in 6m22s
This commit is contained in:
@@ -438,3 +438,19 @@ func _on_enter_world_pressed(world_id: int, button: Button) -> void:
|
||||
func _on_edit_world_pressed(world_id: int) -> void:
|
||||
Session.begin_edit(world_id)
|
||||
get_tree().change_scene_to_file("res://scenes/game.tscn")
|
||||
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("ui_cancel"):
|
||||
if _create_modal != null and is_instance_valid(_create_modal):
|
||||
_create_modal.queue_free()
|
||||
_create_modal = null
|
||||
get_viewport().set_input_as_handled()
|
||||
return
|
||||
for child in get_children():
|
||||
if child is WorldBriefingModal:
|
||||
child.queue_free()
|
||||
get_viewport().set_input_as_handled()
|
||||
return
|
||||
get_viewport().set_input_as_handled()
|
||||
_on_back_button_pressed()
|
||||
|
||||
Reference in New Issue
Block a user