mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-26 14:55:24 +00:00
Merge branch 'master' into develop
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
-- This method is used by Moose developers and not mission builders.
|
||||
ModuleLoader = 'Scripts/Moose/Modules.lua'
|
||||
|
||||
local f=io.open(ModuleLoader,"r")
|
||||
if f~=nil then
|
||||
if io then
|
||||
local f=io.open(ModuleLoader,"r")
|
||||
if f~=nil then
|
||||
io.close(f)
|
||||
|
||||
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
||||
@@ -36,6 +37,9 @@ if f~=nil then
|
||||
|
||||
-- Skip the static part of this file completly
|
||||
do return end
|
||||
end
|
||||
else
|
||||
env.info( '*** MOOSE DYNAMIC INCLUDE NOT POSSIBLE (Desanitize io to use it) *** ' )
|
||||
end
|
||||
|
||||
-- Individual Moose files are not found. Use the static code below.
|
||||
|
||||
Reference in New Issue
Block a user