fix ini nil value

test-utf-8
rubin 2 years ago
parent 28fb199a23
commit d6641a2520
  1. 1
      TruckHUD.lua

@ -4444,7 +4444,6 @@ script_update = {
local fpath = os.tmpname()
local result, text = pcall(openURL, script_update.version_url, fpath)
if result then
ini[name].server_version = text
if text ~= "" and not string.find(text, thisScript().version) then
addChatMessage( string.format("Âûøëà íîâàÿ âåðñèÿ '%s'. Òåêóùàÿ: '%s'", text, thisScript().version) )
local fpath = os.tmpname()

Loading…
Cancel
Save