diff --git a/mafia-tools.lua b/mafia-tools.lua index ea46b8c..2a1c24a 100644 --- a/mafia-tools.lua +++ b/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