Some bug fixes
This commit is contained in:
parent
2c9ef1cfe1
commit
3c50aeae5f
2 changed files with 9 additions and 5 deletions
|
|
@ -63,14 +63,18 @@ func exit() -> void:
|
|||
|
||||
@rpc("authority","call_local","reliable")
|
||||
func use_begin() -> void:
|
||||
current_state.use_begin()
|
||||
if current_state != null:
|
||||
current_state.use_begin()
|
||||
|
||||
@rpc("authority","call_local","reliable")
|
||||
func use_end() -> void:
|
||||
current_state.use_end()
|
||||
if current_state != null:
|
||||
current_state.use_end()
|
||||
func alternate_state() -> void:
|
||||
current_state.alternate_state()
|
||||
if current_state != null:
|
||||
current_state.alternate_state()
|
||||
# Need to clarify naming; Switch mode like firemode. For different states use
|
||||
# alternate_state
|
||||
func switch_mode() -> void:
|
||||
current_state.switch_mode()
|
||||
if current_state != null:
|
||||
current_state.switch_mode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue