🐛 fix health display

This commit is contained in:
anyreso 2024-05-11 15:44:35 -04:00
parent 6a0e28e2e6
commit 223aab2527
5 changed files with 13 additions and 12 deletions

View file

@ -38,7 +38,7 @@ func _physics_process(delta : float) -> void:
if collider is Player:
if is_multiplayer_authority():
assert(shooter)
collider.health_component.damage.rpc(18, shooter.player_id, shooter.team_id)
collider.health_component.damage.rpc(.1, shooter.player_id, shooter.team_id)
queue_free()
## This method is a parameterized constructor for the [ChainGunProjectile] scene of the [ChainGun]