indicators.activity = 0
indicators.get_defensive = function()
local net_channel, simtime = utils.net_channel(), entity.get_local_player():get_simulation_time()
local difference = simtime.current - simtime.old
if difference < 0 then
indicators.activity = globals.tickcount + math.abs(difference) - defines.time_to_ticks(net_channel.latency[0])
end
return indicators.activity > globals.tickcount
end