Fix missing Mods.original_require

This commit is contained in:
Lucas Schwiderski 2023-11-14 15:06:19 +01:00 committed by Lucas Schwiderski
parent 13e77a2097
commit 3af631348d

View file

@ -138,7 +138,8 @@ Mods = {
-- 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
lua = setmetatable({}, { __index = lua_libs }), lua = setmetatable({}, { __index = lua_libs }),
require_store = require_store require_store = require_store,
original_require = require,
} }
local can_insert = function(filepath, new_result) local can_insert = function(filepath, new_result)