fix: don't run stats and serverbrowser ui scripts when loading a map

This commit is contained in:
Jari van der Kaap 2023-02-19 18:03:53 +01:00
parent af4210088e
commit e44dff90da
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
if not CoD.isFrontend then
return
end
require( "ui.uieditor.widgets.PC.ServerBrowser.ServerBrowserRowInternal" )
require( "ui.uieditor.widgets.Lobby.Common.FE_FocusBarContainer" )

View File

@ -1,3 +1,7 @@
if not CoD.isFrontend then
return
end
DataSources.MPStatsSettings = DataSourceHelpers.ListSetup( "MPStatsSettings", function ( controller )
local optionsTable = {}