mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 13:49:33 -05:00
Update loading screen game mode name before map rotate
This commit is contained in:
parent
8adffcaac9
commit
8d460f64dc
@ -465,12 +465,21 @@ map_vote()
|
||||
}
|
||||
|
||||
setDvar("ui_gametype_obj_cur", maps[index]["obj_name"]);
|
||||
|
||||
level thread wait_and_setclientdvarall(1.5, "ui_gametype_obj", getDvar("ui_gametype_obj_cur"));
|
||||
}
|
||||
|
||||
level.zombie_vars["vote_input_hud"].alpha = 0;
|
||||
level.zombie_vars["vote_timer_hud"].alpha = 0;
|
||||
}
|
||||
|
||||
wait_and_setclientdvarall(time, dvar, value)
|
||||
{
|
||||
wait time;
|
||||
|
||||
scripts\zm\_zm_reimagined::setclientdvarall(dvar, value);
|
||||
}
|
||||
|
||||
create_map_image_hud(image, x, y)
|
||||
{
|
||||
hud = newHudElem();
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user