Skip to content
Snippets Groups Projects
Commit ea368039 authored by DarkGod's avatar DarkGod
Browse files

tssk

parent dd2a3b96
No related branches found
No related tags found
No related merge requests found
......@@ -1900,6 +1900,8 @@ function util.showMainMenu(no_reboot, reboot_engine, reboot_engine_version, rebo
local mod = ms[__load_module]
Module:instanciate(mod, __player_name, __player_new, true)
else
if core.steam then core.steam.cancelGrabSubscribedAddons() end
-- Tell the C engine to discard the current lua state and make a new one
print("[MAIN] rebooting lua state: ", reboot_engine, reboot_engine_version, reboot_module, reboot_name, reboot_new)
core.game.reboot("te4core", -1, reboot_engine or "te4", reboot_engine_version or "LATEST", reboot_module or "boot", reboot_name or "player", reboot_new, reboot_einfo or "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment