mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-01 13:08:05 +02:00
use _G where we can
This commit is contained in:
parent
87a5796a08
commit
acba7ebfe1
@ -25,7 +25,7 @@ function get_game_version()
|
||||
end
|
||||
|
||||
function is_loaded(module)
|
||||
local res = package.loaded[module]
|
||||
local res = _G.package.loaded[module]
|
||||
if res then
|
||||
return res
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user