mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
fix gamemode in the ui
This commit is contained in:
parent
a9acadaf12
commit
3a94c2f79c
7
data/ui_scripts/patches/__init__.lua
Normal file
7
data/ui_scripts/patches/__init__.lua
Normal file
@ -0,0 +1,7 @@
|
||||
if (game:issingleplayer()) then
|
||||
return
|
||||
end
|
||||
|
||||
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