From ff3a5c4b9bb71d4e92c58d2f0ba7fd88977b6963 Mon Sep 17 00:00:00 2001 From: Lasercar <64717068+Lasercar@users.noreply.github.com> Date: Sun, 18 Jan 2026 19:37:05 +1000 Subject: [PATCH] Cancel screenshot spam timer in pre-state switch --- source/funkin/util/plugins/ScreenshotPlugin.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/funkin/util/plugins/ScreenshotPlugin.hx b/source/funkin/util/plugins/ScreenshotPlugin.hx index ff3b59de7..5fd8fde0a 100644 --- a/source/funkin/util/plugins/ScreenshotPlugin.hx +++ b/source/funkin/util/plugins/ScreenshotPlugin.hx @@ -607,6 +607,8 @@ class ScreenshotPlugin extends FlxBasic Cursor.show(); } + if (screenshotSpammedTimer != null && !screenshotSpammedTimer.finished) screenshotSpammedTimer.cancel(); + if (unsavedScreenshotBuffer[0] == null) return; // There's unsaved screenshots, let's save them! (haha, get it?)