h1-mod/data/ui_scripts/patches/__init__.lua
Federico Cecchetto c8af1f4ee4 Small fix
2022-06-25 01:02:44 +02:00

18 lines
362 B
Lua

if (game:issingleplayer()) then
return
end
if (Engine.InFrontend()) then
require("shaderdialog")
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