From d60976035f230e4b67fff7f36fbbde05bcf5d1d8 Mon Sep 17 00:00:00 2001 From: bgkillas Date: Sun, 13 Oct 2024 23:26:35 -0400 Subject: [PATCH] fix pvp fight in local health with FF enabled --- quant.ew/files/system/player_sync.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quant.ew/files/system/player_sync.lua b/quant.ew/files/system/player_sync.lua index b4a8ee5e..266bb20f 100644 --- a/quant.ew/files/system/player_sync.lua +++ b/quant.ew/files/system/player_sync.lua @@ -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")