Added dvars loaded scheduler event, fixed issues with new dvars resetting on match load, fixed issue with blackjack not being available at restart of the game
This commit is contained in:
@ -25,6 +25,10 @@ DataSources.MPStatsSettings = DataSourceHelpers.ListSetup( "MPStatsSettings", fu
|
||||
return optionsTable
|
||||
end)
|
||||
|
||||
if Dvar.cg_unlockall_loot:get() == true then
|
||||
Engine.SetDvar( "ui_enableAllHeroes", 1 )
|
||||
end
|
||||
|
||||
LUI.createMenu.MPStatsMenu = function ( controller )
|
||||
local self = CoD.Menu.NewForUIEditor( "MPStatsMenu" )
|
||||
if PreLoadFunc then
|
||||
|
Reference in New Issue
Block a user