pair_timestamp fix & add url print

test-utf-8
rubin 2 years ago
parent 83667a7e25
commit 171344f818
  1. 4
      TruckHUD.lua

@ -102,7 +102,7 @@ local pickupLoad = {
}
local newMarkers = {}
local pair_table = {}
local pair_timestamp = {}
local pair_timestamp = 0
local pair_status = 0
local response_timestamp = 0
local transponder_delay = 500
@ -1114,6 +1114,7 @@ function doRenderStats()
end
end
if pair_timestamp ~= nil then
local afk_wait = (live-pair_afk_stop.player_live > 3 and live-pair_afk_stop.player_live or
(pair_timestamp-pair_afk_stop.pair_live > 3 and pair_timestamp-pair_afk_stop.pair_live or 0))
if afk_wait > 0 then
@ -1121,6 +1122,7 @@ function doRenderStats()
end
pair_afk_stop.player_live = live
pair_afk_stop.pair_live = pair_timestamp
end
local X, Y, c1, c2 = inifiles.Settings.X1, inifiles.Settings.Y1, inifiles.Render.Color1, inifiles.Render.Color2
local down = (renderGetFontDrawHeight(font) / 6)

Loading…
Cancel
Save