fix tapion sync

This commit is contained in:
bgkillas 2024-10-13 21:50:17 -04:00
parent 79f476e424
commit af6b96c114

View file

@ -7,7 +7,7 @@ function rpc.set_helpless(anger)
end
function tapion.on_world_update()
if GameGetFrameNum() % 60 == 57 then
if ctx.is_host and GameGetFrameNum() % 60 == 57 then
rpc.set_helpless(tonumber(GlobalsGetValue( "HELPLESS_KILLS", "1" )))
end
end