fix gamemode in the ui

This commit is contained in:
Diavolo 2023-01-15 15:35:33 +01:00
parent a9acadaf12
commit 3a94c2f79c
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View 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