Fix gamemode name in scoreboard
This commit is contained in:
parent
b4e1ba0b7e
commit
5451e58ec6
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