h1-mod/data/cdata/ui_scripts/patches/__init__.lua
Vlad 163de98ad5 Background effects tweak (#394)
* Background effects tweak

* Small fix

* Revert: 'language' deletion (4542b97)

* cleanup + readd vignette
2022-12-21 13:42:52 -06:00

27 lines
609 B
Lua

require("language")
require("background_effects")
if (game:issingleplayer()) then
require("sp_unlockall")
return
end
if (Engine.InFrontend()) then
require("shader_dialog")
require("gamemodes")
require("no_mode_switch")
require("disable_useless_things")
else
require("scoreboard")
end
-- defined in mp_hud/hudutils.lua
function GetGameModeName()
return Engine.Localize(Engine.TableLookup(GameTypesTable.File, GameTypesTable.Cols.Ref, GameX.GetGameMode(),
GameTypesTable.Cols.Name))
end
function NeverAllowChangeTeams()
return false
end