From a1ac74950c1ac35120aabc24adf83e176e03caad Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 9 May 2022 04:33:13 -0400 Subject: [PATCH] notify spam fix --- core/src/mindustry/logic/LExecutor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/logic/LExecutor.java b/core/src/mindustry/logic/LExecutor.java index 31cd13b87b..186722af20 100644 --- a/core/src/mindustry/logic/LExecutor.java +++ b/core/src/mindustry/logic/LExecutor.java @@ -1469,8 +1469,8 @@ public class LExecutor{ //skip back to self until possible //TODO this is guaranteed desync on servers - I don't see a good solution if( - type == MessageType.announce && ui.hudfrag.hasToast() || - type == MessageType.notify && ui.hasAnnouncement() || + type == MessageType.announce && ui.hasAnnouncement() || + type == MessageType.notify && ui.hudfrag.hasToast() || type == MessageType.toast && ui.hasAnnouncement() ){ exec.var(varCounter).numval --;