mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix pvp fight in local health with FF enabled
This commit is contained in:
parent
08eab5a1f3
commit
d60976035f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ function rpc.player_update(input_data, pos_data, current_slot, team)
|
|||
end
|
||||
local player_data = player_fns.peer_get_player_data(peer_id)
|
||||
|
||||
if team ~= nil then
|
||||
if team ~= nil and not GameHasFlagRun("ending_game_completed") then
|
||||
local my_team = ctx.proxy_opt.friendly_fire_team - 1
|
||||
if my_team ~= -1 and team ~= -1 and (team == 0 or my_team == 0 or team ~= my_team) then
|
||||
GenomeSetHerdId(player_data.entity, "player_pvp")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue