update room handle state management
This commit is contained in:
parent
0fa2cae3a4
commit
36529e8208
|
|
@ -28,7 +28,7 @@ func _process(delta):
|
|||
func start():
|
||||
$light_animation.play("light_up")
|
||||
$AudioPlayer.play("intro")
|
||||
State.assign_focus_to($PlayerController)
|
||||
State.pass_focus_to($PlayerController)
|
||||
current_mode = Modes.WALKING
|
||||
|
||||
func _update_scene(new_mode) -> int:
|
||||
|
|
@ -37,7 +37,6 @@ func _update_scene(new_mode) -> int:
|
|||
elif new_mode == Modes.FREEZE:
|
||||
emit_signal("freeze")
|
||||
|
||||
|
||||
return new_mode
|
||||
|
||||
func _unhandled_input(event):
|
||||
|
|
|
|||
Loading…
Reference in New Issue