|
@@ -30,7 +30,7 @@ public class TeamService {
|
|
|
if (update != null) {
|
|
if (update != null) {
|
|
|
t.setCurrentLocation(update.getLocation());
|
|
t.setCurrentLocation(update.getLocation());
|
|
|
if (update.getAnswer() != null) {
|
|
if (update.getAnswer() != null) {
|
|
|
- LOGGER.info("Team {}, {}", t.getName(), update);
|
|
|
|
|
|
|
+ LOGGER.info("Team {}, {}, antwoord: {}", t.getName(), t.getCurrentLocation(), update.getAnswer());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -38,8 +38,10 @@ public class TeamService {
|
|
|
|
|
|
|
|
if (m == null || missionService.evaluate(m, update)) {
|
|
if (m == null || missionService.evaluate(m, update)) {
|
|
|
m = event.nextMission(m);
|
|
m = event.nextMission(m);
|
|
|
|
|
+ if (!m.equals(t.getCurrentMission())) {
|
|
|
|
|
+ LOGGER.info("Team {}, {}, missie: {}", t.getName(), t.getCurrentLocation(), m.getTitle());
|
|
|
|
|
+ }
|
|
|
t.setCurrentMission(m);
|
|
t.setCurrentMission(m);
|
|
|
- LOGGER.info("{} {}", t.getName(), m.getTitle());
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return t.getCurrentMission();
|
|
return t.getCurrentMission();
|