From 540bb7290c641df88aad0631d034cc4c63681428 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 8 May 2023 15:00:15 +0200 Subject: [PATCH] SEBSERV-441 fix --- .../seb/sebserver/gui/service/session/ColorData.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ColorData.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ColorData.java index 858eafd3..dd857e6f 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ColorData.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ColorData.java @@ -69,16 +69,9 @@ public class ColorData { switch (entry.getStatus()) { case CONNECTION_REQUESTED: case AUTHENTICATED: { - if (entry.incidentFlag() > 0) { - return -1; - } - return 1; + return 0; } case ACTIVE: { - final int incidentFlag = entry.incidentFlag(); - if (incidentFlag > 0) { - return -incidentFlag; - } return 2; } case CLOSED: