1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-30 09:00:31 -05:00

Update loading screen game mode name before map rotate

This commit is contained in:
Jbleezy
2024-06-02 02:11:50 -07:00
parent 8adffcaac9
commit 8d460f64dc
2 changed files with 10 additions and 1 deletions

View File

@ -598,7 +598,7 @@ function CoD.Loading.GetGametypeDisplayName(gametype)
return Engine.Localize("ZMUI_ZCLASSIC_GAMEMODE_CAPS")
end
if gametype == CoD.Zombie.GAMETYPE_ZGRIEF then
if gametype == CoD.Zombie.GAMETYPE_ZGRIEF and UIExpression.DvarString(nil, "ui_gametype_obj") ~= "" then
return Engine.Localize("ZMUI_" .. UIExpression.DvarString(nil, "ui_gametype_obj") .. "_CAPS")
end