Skip to content

Commit

Permalink
See if it's a PlatformAccessor issue
Browse files Browse the repository at this point in the history
[CI BUILD]
  • Loading branch information
andybak committed Nov 30, 2023
1 parent 07f4a03 commit a0a6848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/API/Lua/LuaManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ public void Init()

// Allow includes from Scripts/LuaModules
Script.DefaultOptions.ScriptLoader = new OpenBrushScriptLoader();
Script.GlobalOptions.Platform = new StandardPlatformAccessor();
((ScriptLoaderBase)Script.DefaultOptions.ScriptLoader).ModulePaths = new[]
{
Path.Join(LuaModulesPath, "?.lua")
Expand Down

0 comments on commit a0a6848

Please sign in to comment.