Skip to content

Commit 1227034

Browse files
committed
🐛 Fixed InitPostfix validation
1 parent 4ed1259 commit 1227034

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Patches/MainEffectsPatch.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ out var objectAction
3636
[HarmonyPostfix]
3737
internal static void InitPostfix(Effect __instance)
3838
{
39-
if (Main.IsGameScene)
39+
// We do not care about effects outside the chart
40+
if (!Main.IsGameScene)
4041
return;
4142

4243
if (SettingsManager.Get<Managers.MainCategory>().DisableAllEffects)

0 commit comments

Comments
 (0)