Fixed "waiting for players" being shown after PvP end

This commit is contained in:
Anuken
2020-08-21 10:03:40 -04:00
parent 28d2243abc
commit 3b85dc27d7
6 changed files with 20 additions and 6 deletions

View File

@@ -159,6 +159,9 @@ public class ServerControl implements ApplicationListener{
+ (map.tags.containsKey("author") && !map.tags.get("author").trim().isEmpty() ? " by[accent] " + map.author() + "[white]" : "") + "." +
"\nNew game begins in " + roundExtraTime + " seconds.");
state.gameOver = true;
Call.updateGameOver(event.winner);
info("Selected next map to be @.", map.name());
play(true, () -> world.loadMap(map, map.applyRules(lastMode)));