Fixed some errors
This commit is contained in:
parent
87919ed890
commit
e6a47a4772
9 changed files with 32 additions and 32 deletions
|
|
@ -5,10 +5,11 @@ class_name SubStateMachine
|
|||
@export var enter_state: State
|
||||
|
||||
func _enter() -> void:
|
||||
change_state(enter_state)
|
||||
if is_multiplayer_authority():
|
||||
change_state(enter_state)
|
||||
|
||||
func _exit() -> void:
|
||||
current_state.exit()
|
||||
pass
|
||||
|
||||
func update(delta: float) -> void:
|
||||
if current_state == null:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue