fix(dtmm): Add additional Lua globals to backup

This commit is contained in:
Lucas Schwiderski 2023-02-22 15:28:26 +01:00
parent 0705430b95
commit d9e6cc05a0
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -1,7 +1,15 @@
-- Keep a backup of certain system libraries before -- Keep a backup of certain system libraries before
-- Fatshark's code scrubs them. -- Fatshark's code scrubs them.
-- The loader can then decide to pass them on to mods, or ignore them -- The loader can then decide to pass them on to mods, or ignore them
local libs = { io = io, debug = debug, ffi = ffi, os = os } local libs = {
io = io,
debug = debug,
ffi = ffi,
os = os,
load = load,
loadfile = loadfile,
loadstring = loadstring,
}
require("scripts/game_states/boot/state_boot_sub_state_base") require("scripts/game_states/boot/state_boot_sub_state_base")
local StateBootLoadMods = class("StateBootLoadMods", "StateBootSubStateBase") local StateBootLoadMods = class("StateBootLoadMods", "StateBootSubStateBase")