From 385d4492ab73ed670634878fdd8dd8a115e9b5ff Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 27 Sep 2022 21:01:54 +0100 Subject: [PATCH] fix(special rounds): Fix Non-stop special round leaving boss time overlay on screen --- src/scripting/AS-MicroTF2.sp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/scripting/AS-MicroTF2.sp b/src/scripting/AS-MicroTF2.sp index a7092ab..eb989f5 100644 --- a/src/scripting/AS-MicroTF2.sp +++ b/src/scripting/AS-MicroTF2.sp @@ -360,10 +360,11 @@ public Action Timer_GameLogic_PrepareForMinigame(Handle timer) PrintCenterText(i, buffer); } + player.DisplayOverlay(OVERLAY_BLANK); + player.SetCaption(""); + if (duration >= 1.0) { - player.DisplayOverlay(OVERLAY_BLANK); - player.SetCaption(""); player.PlaySound(g_sGamemodeThemeBgm[g_iActiveGamemodeId][SYSMUSIC_PREMINIGAME][selectedBgmIdx]); if (player.IsParticipating && g_iSpecialRoundId != 12 && g_iSpecialRoundId != 17)