fixed close stats

update
rubin 2 years ago
parent f3306caf69
commit bd2a445140
  1. 5
      mafia-tools.lua

@ -1140,7 +1140,10 @@ get_guns.onShowDialog = function(id, style, title, button1, button2, text)
config.data.stats.frac = frac
config.save(config.data)
if not isPlayerInMafia() then
thisScript():unload()
lua_thread.create(function()
wait(3000)
thisScript():unload()
end)
end
end
if not get_guns.check_stats then

Loading…
Cancel
Save