Start of rewind system

This commit is contained in:
Rendo 2025-12-21 02:22:41 +05:00
commit 42c95820d7
16 changed files with 55 additions and 33 deletions

View file

@ -7,6 +7,6 @@ func _enter() -> void:
func _exit() -> void:
pass
func _use_begin() -> void:
func _use_begin(_timestamp: float) -> void:
if Session.is_on_site(machine.player.player_id):
transition.emit("Plant")

View file

@ -26,7 +26,7 @@ func on_animation_finished(animation: StringName):
machine.ammo -= 1
return_to_previous.emit()
func use_end() -> void:
func use_end(_timestamp: float) -> void:
if is_multiplayer_authority() == false:
return
transition.emit("Idle")