Fix gamemode name in scoreboard
This commit is contained in:
parent
50f654acaa
commit
7ed826d244
9
data/ui_scripts/patches/__init__.lua
Normal file
9
data/ui_scripts/patches/__init__.lua
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user