Fix Game.Settings being nil
This commit is contained in:
@@ -273,6 +273,7 @@ namespace Barotrauma.LuaCs
|
||||
|
||||
public LuaGame(IConsoleCommandsService consoleCommands)
|
||||
{
|
||||
UserData.RegisterType(typeof(GameSettings));
|
||||
Settings = UserData.CreateStatic(typeof(GameSettings));
|
||||
_consoleCommands = consoleCommands;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user