mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-01-19 19:44:46 +00:00
🔊 add warning about missing damage_dealer
This commit is contained in:
parent
6222bf0254
commit
82e0e8fa13
|
|
@ -36,5 +36,7 @@ func _physics_process(_delta : float) -> void:
|
|||
if area is HealthComponent and is_multiplayer_authority():
|
||||
if damage_dealer:
|
||||
(area as HealthComponent).damage.rpc(damage, damage_dealer.player_id, damage_dealer.team_id)
|
||||
else:
|
||||
push_warning("explosion has no damage_dealer")
|
||||
|
||||
set_physics_process(false)
|
||||
|
|
|
|||
Loading…
Reference in a new issue