movement sync

This commit is contained in:
Rendo 2025-12-03 16:05:52 +05:00
commit bb3a14ece7
13 changed files with 46 additions and 35 deletions

View file

@ -14,7 +14,7 @@ func exit() -> void:
func attack() -> void:
if is_multiplayer_authority():
Session.shoot(damage,1.5)
Session.shoot(int(machine.player.name),damage,1.5)
func on_animation_finished(animation):
if animation == machine.animation_prefix + "attack":