mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Remove Moose.lua
This commit is contained in:
parent
610938b6e8
commit
32c064a1be
@ -1,23 +0,0 @@
|
|||||||
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
|
||||||
|
|
||||||
local base = _G
|
|
||||||
|
|
||||||
__Moose = {}
|
|
||||||
|
|
||||||
__Moose.Include = function( IncludeFile )
|
|
||||||
if not __Moose.Includes[ IncludeFile ] then
|
|
||||||
__Moose.Includes[IncludeFile] = IncludeFile
|
|
||||||
local f = assert( base.loadfile( IncludeFile ) )
|
|
||||||
if f == nil then
|
|
||||||
error ("Moose: Could not load Moose file " .. IncludeFile )
|
|
||||||
else
|
|
||||||
env.info( "Moose: " .. IncludeFile .. " dynamically loaded." )
|
|
||||||
return f()
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
__Moose.Includes = {}
|
|
||||||
__Moose.Include( 'Scripts/Moose/Modules.lua' )
|
|
||||||
BASE:TraceOnOff( true )
|
|
||||||
env.info( '*** MOOSE INCLUDE END *** ' )
|
|
||||||
Loading…
x
Reference in New Issue
Block a user