mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Removed Test Missions from main repository
This commit is contained in:
@@ -6,12 +6,11 @@ __Moose = {}
|
||||
__Moose.Include = function( IncludeFile )
|
||||
if not __Moose.Includes[ IncludeFile ] then
|
||||
__Moose.Includes[IncludeFile] = IncludeFile
|
||||
env.info( "Include:" .. IncludeFile .. " from " .. __Moose.ProgramPath )
|
||||
local f = assert( base.loadfile( __Moose.ProgramPath .. IncludeFile .. ".lua" ) )
|
||||
local f = assert( base.loadfile( __Moose.ProgramPath .. IncludeFile ) )
|
||||
if f == nil then
|
||||
error ("Could not load Moose file " .. IncludeFile .. ".lua" )
|
||||
error ("Moose: Could not load Moose file " .. IncludeFile )
|
||||
else
|
||||
env.info( "Moose:" .. IncludeFile .. " loaded from " .. __Moose.ProgramPath )
|
||||
env.info( "Moose: " .. IncludeFile .. " dynamically loaded from " .. __Moose.ProgramPath )
|
||||
return f()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user