File tree Expand file tree Collapse file tree
Barotrauma/BarotraumaShared/SharedSource/LuaCs/_Services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ private void SetupEnvironment(bool enableSandbox)
396396 typeof ( ISettingList < ulong > ) ,
397397 typeof ( ISettingList < long > ) ,
398398 typeof ( ISettingList < float > ) ,
399- typeof ( ISettingList < double > ) ,
399+ typeof ( ISettingList < double > )
400400 ] ;
401401
402402 Dictionary < string , Dictionary < string , object > > settingsTable = [ ] ;
@@ -420,9 +420,9 @@ private void SetupEnvironment(bool enableSandbox)
420420 _script . Globals [ keyPair . Key ] = keyPair . Value ;
421421 }
422422
423- UserData . RegisterType ( typeof ( ISettingRangeBase < int > ) ) ;
424423#if CLIENT
425424 UserData . RegisterType ( typeof ( ISettingControl ) ) ;
425+ _script . Globals [ "SettingControl" ] = UserData . CreateStatic ( typeof ( ISettingControl ) ) ;
426426#endif
427427
428428 new LuaConverters ( this ) . RegisterLuaConverters ( ) ;
You can’t perform that action at this time.
0 commit comments