163de98ad5
* Background effects tweak
* Small fix
* Revert: 'language' deletion (4542b97
)
* cleanup + readd vignette
12 lines
385 B
Lua
12 lines
385 B
Lua
if (Engine.InFrontend()) then
|
|
return
|
|
end
|
|
|
|
-- less background blur in SP, no blur in MP
|
|
LUI.MenuTemplate.InitInGameBkg = function(f39_arg0, f39_arg1)
|
|
LUI.MenuTemplate.AddDarken(f39_arg0, f39_arg1)
|
|
if game:issingleplayer() and not LUI.FlowManager.IsMenuTopmost(Engine.GetLuiRoot(), "advanced_video") then
|
|
LUI.MenuTemplate.AddWorldBlur(f39_arg0, f39_arg1)
|
|
end
|
|
end
|