From 5a220fbfe36d310af4f2645fa55e5519d73bff9e Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 23 Nov 2024 13:31:50 +0100 Subject: [PATCH] Fix game filters not applying --- Effects/Filters/source/PlayState.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Effects/Filters/source/PlayState.hx b/Effects/Filters/source/PlayState.hx index 931a8f3e7..cf085b3a0 100644 --- a/Effects/Filters/source/PlayState.hx +++ b/Effects/Filters/source/PlayState.hx @@ -131,6 +131,8 @@ class PlayState extends FlxState checkbox.callback = function() { FlxG.camera.filtersEnabled = !checkbox.checked; + + FlxG.game.setFilters(filters); FlxG.game.filtersEnabled = checkbox.checked; } }