Merge branch 'master' of github.com:unfa/liblast

remotes/1699310152913738325/tmp_refs/heads/legacy
unfa 2021-04-22 00:03:09 +02:00
commit 5c4591ac6f
1 changed files with 3 additions and 0 deletions

View File

@ -304,6 +304,9 @@ sync func on_damage_dealt(damage, target, is_kill):
game.get_node("PlayerListContainer").update_player_list()
master func on_hit(damage, location, source):
if is_dead:
return
set_health(health - damage)
rpc("blood_splatter", location)