From e03365cff656186ae27198e991b0a0cd0fa74bbc Mon Sep 17 00:00:00 2001 From: taoneill Date: Sat, 16 Jul 2011 16:38:33 -0400 Subject: [PATCH] Closes gh-244. Changing spawn style doesn't mess up the surroundings anymore. --- war/src/main/java/com/tommytony/war/Warzone.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/war/src/main/java/com/tommytony/war/Warzone.java b/war/src/main/java/com/tommytony/war/Warzone.java index 4fb3272..111bea9 100644 --- a/war/src/main/java/com/tommytony/war/Warzone.java +++ b/war/src/main/java/com/tommytony/war/Warzone.java @@ -903,6 +903,9 @@ public class Warzone { public void setSpawnStyle(String spawnStyle) { this.spawnStyle = spawnStyle; + for(Team team : teams) { + team.setTeamSpawn(team.getTeamSpawn()); + } } public String getSpawnStyle() {