010bdb41aa
* combat training * Disable bot & gamesetting customization menus - feature not yet available. - cleanup unused code
30 lines
556 B
Lua
30 lines
556 B
Lua
if not Engine.InFrontend() then
|
|
return
|
|
end
|
|
|
|
-- GENERAL
|
|
Engine.SetDvarBool("daily_login_bonus_enabled", false)
|
|
|
|
function CONDITIONS.IsStoreAllowed(self)
|
|
return true
|
|
end
|
|
|
|
function CODTV.IsCODTVEnabled()
|
|
return false
|
|
end
|
|
|
|
-- MP
|
|
if CONDITIONS.InFrontendPublicMP then
|
|
function CONDITIONS.IsServerBrowserAllowed(self)
|
|
return true
|
|
end
|
|
|
|
function CONDITIONS.IsGameBattlesAllowed(self)
|
|
return CONDITIONS.IsServerBrowserAllowed(self)
|
|
end
|
|
end
|
|
|
|
-- MP PRIVATE
|
|
if CONDITIONS.InFrontend and Engine.IsCoreMode() and (IsPrivateMatch() or IsSystemLink()) then
|
|
end
|