Skip to content

Commit b68ffa2

Browse files
committed
Add LuaCsSetup.Lua back for compatibility
1 parent a85d489 commit b68ffa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Barotrauma/BarotraumaShared/SharedSource/LuaCs/LuaCsSetup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private void SubscribeToLuaCsEvents()
8383
// hotpath performance ref cache
8484
private LuaGame _game;
8585
public LuaGame Game => _game ??= _servicesProvider.GetService<LuaGame>();
86-
86+
public Script Lua => LuaScriptManagementService.InternalScript;
8787

8888
/// <summary>
8989
/// Whether C# plugin code is enabled.

0 commit comments

Comments
 (0)