From 96d246e6aeac2cadf62d726b87bc8412c39336a7 Mon Sep 17 00:00:00 2001
From: Lactozilla <jp6781615@gmail.com>
Date: Wed, 27 Dec 2023 18:22:16 -0300
Subject: [PATCH] Ensure wipe_holdframes is cleared when stopping a wipe

---
 src/f_wipe.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/f_wipe.c b/src/f_wipe.c
index 1670390eb5..42f16a4139 100644
--- a/src/f_wipe.c
+++ b/src/f_wipe.c
@@ -562,6 +562,7 @@ void ScreenWipe_Stop(void)
 	wipe_stopped = false;
 	wipe_running = false;
 	wipe_drawmenuontop = false;
+	wipe_holdframes = 0;
 
 	if (titlecard.wipe)
 		titlecard.wipe = 0;
-- 
GitLab