Trying stuff out... Nothing more.

This commit is contained in:
FlightControl
2017-06-29 04:52:45 +02:00
parent 975566eb3c
commit a021967295
6 changed files with 88 additions and 69 deletions

View File

@@ -3,10 +3,10 @@ local base = _G
__Moose = {}
__Moose.Include = function( IncludeFile )
__Moose.Include = function( LuaPath, IncludeFile )
if not __Moose.Includes[ IncludeFile ] then
__Moose.Includes[IncludeFile] = IncludeFile
local f = assert( base.loadfile( __Moose.ProgramPath .. IncludeFile ) )
local f = assert( base.loadfile( LuaPath .. IncludeFile ) )
if f == nil then
error ("Moose: Could not load Moose file " .. IncludeFile )
else