Easy debugging for all Moosers #2093

Enables everybody to use load Moose from an external full path.
This is needed to use PyCharm with EmmyLua Debugger.
Needs also De-Sanitize to load mission script with full path.
This commit is contained in:
kaltokri
2024-01-09 16:09:19 +01:00
committed by Rolf Geuenich
parent 4ac583e434
commit 4fda8cc5fb
3 changed files with 152 additions and 143 deletions

View File

@@ -18,5 +18,7 @@ __Moose.Include = function( IncludeFile )
end
__Moose.Includes = {}
__Moose.Include( 'Scripts/Moose/Modules.lua' )
if not MOOSE_DEVELOPMENT_FOLDER then
MOOSE_DEVELOPMENT_FOLDER='Scripts'
end
__Moose.Include( MOOSE_DEVELOPMENT_FOLDER..'/Moose/Modules.lua' )