h1-mod/data/ui_scripts/patches/__init__.lua

10 lines
250 B
Lua
Raw Normal View History

2022-06-02 10:14:40 -04:00
if (game:issingleplayer()) then
return
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