From a0a68481a38544023f693b560aac332a6821354f Mon Sep 17 00:00:00 2001 From: Andy Baker Date: Thu, 30 Nov 2023 14:40:02 +0000 Subject: [PATCH] See if it's a PlatformAccessor issue [CI BUILD] --- Assets/Scripts/API/Lua/LuaManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Scripts/API/Lua/LuaManager.cs b/Assets/Scripts/API/Lua/LuaManager.cs index 021a3c3efd..791469f2b0 100644 --- a/Assets/Scripts/API/Lua/LuaManager.cs +++ b/Assets/Scripts/API/Lua/LuaManager.cs @@ -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")