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: