139140141142143144145146147148149
//check if this rooms has gates while (it.hasNext()) { EnvObjectLogic obj = it.next(); if (obj instanceof Gate) { Gate gate = (Gate) obj; gate.evaluateGate(); } } room.setChanged(); } else {