Add LuaCsSetup.Lua back for compatibility
This commit is contained in:
@@ -83,7 +83,7 @@ namespace Barotrauma
|
|||||||
// hotpath performance ref cache
|
// hotpath performance ref cache
|
||||||
private LuaGame _game;
|
private LuaGame _game;
|
||||||
public LuaGame Game => _game ??= _servicesProvider.GetService<LuaGame>();
|
public LuaGame Game => _game ??= _servicesProvider.GetService<LuaGame>();
|
||||||
|
public Script Lua => LuaScriptManagementService.InternalScript;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether C# plugin code is enabled.
|
/// Whether C# plugin code is enabled.
|
||||||
|
|||||||
Reference in New Issue
Block a user