From: terencehill Date: Wed, 6 Jul 2016 17:55:53 +0000 (+0200) Subject: Make sure centerprint panel isn't empty right on hud editor enter X-Git-Tag: xonotic-v0.8.2~700^2~87^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fa4a56cab0fce72a3e57223942a53ed109ffaf29;p=xonotic%2Fxonotic-data.pk3dir.git Make sure centerprint panel isn't empty right on hud editor enter --- diff --git a/qcsrc/client/hud/panel/centerprint.qc b/qcsrc/client/hud/panel/centerprint.qc index afda32983..e998c0883 100644 --- a/qcsrc/client/hud/panel/centerprint.qc +++ b/qcsrc/client/hud/panel/centerprint.qc @@ -128,7 +128,10 @@ void HUD_CenterPrint () else { if(!hud_configure_prev) + { reset_centerprint_messages(); + hud_configure_cp_generation_time = time; // show a message immediately + } if (time > hud_configure_cp_generation_time) { if(highlightedPanel == HUD_PANEL(CENTERPRINT))