Add LuaCsSetup.Lua back for compatibility

This commit is contained in:
Evil Factory
2026-04-09 13:56:56 -03:00
parent a85d489907
commit b68ffa2725

View File

@@ -83,7 +83,7 @@ namespace Barotrauma
// hotpath performance ref cache
private LuaGame _game;
public LuaGame Game => _game ??= _servicesProvider.GetService<LuaGame>();
public Script Lua => LuaScriptManagementService.InternalScript;
/// <summary>
/// Whether C# plugin code is enabled.