mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
WebView fixes and improvements.
Re-organize initialization so that User-Agent CVar actually works. Add web.headless CVar to not load CEF even on graphical client. Clean up init logic to not rely on static IoC, and clean up loggers used too.
This commit is contained in:
@@ -131,6 +131,10 @@ namespace Robust.Client
|
||||
|
||||
// Call Init in game assemblies.
|
||||
_modLoader.BroadcastRunLevel(ModRunLevel.PreInit);
|
||||
|
||||
// Finish initialization of WebView if loaded.
|
||||
_webViewHook?.Initialize();
|
||||
|
||||
_modLoader.BroadcastRunLevel(ModRunLevel.Init);
|
||||
|
||||
// Start bad file extensions check after content init,
|
||||
|
||||
Reference in New Issue
Block a user