367548e86e
* Fallback fonts + localizations * cannot find address on h1 [skip] * fix build * fix language menu * small fix * improved regular font * format LUI stuff [skip ci] Co-authored-by: m <mjkzyalt@gmail.com>
23 lines
494 B
Lua
23 lines
494 B
Lua
require("language")
|
|
|
|
if (game:issingleplayer()) then
|
|
return
|
|
end
|
|
|
|
if (Engine.InFrontend()) then
|
|
require("shader_dialog")
|
|
require("gamemodes")
|
|
require("no_mode_switch")
|
|
require("disable_useless_things")
|
|
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
|