bugfix player morto che diventa killfarm
parent
36b961068b
commit
3753898682
|
@ -147,7 +147,7 @@ function shoot(p_name, pointed_thing, damage)
|
|||
|
||||
if not arena then return end -- uno potrebbe sparare nel decimo di secondo di sostituzione arma a fine match e far crashare
|
||||
|
||||
if target:get_hp() < 0 or arena.in_celebration then return end
|
||||
if target:get_hp() <= 0 or arena.in_celebration then return end
|
||||
|
||||
-- controllo le immunità
|
||||
if target:get_inventory():contains_item("main", "arena_lib:immunity") then
|
||||
|
|
Loading…
Reference in New Issue