Skip to content

Commit

Permalink
fix(special rounds): Fix Non-stop special round leaving boss time ove…
Browse files Browse the repository at this point in the history
…rlay on screen
  • Loading branch information
safalin1 committed Sep 27, 2022
1 parent 94f7601 commit 385d449
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/scripting/AS-MicroTF2.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 385d449

Please sign in to comment.