diff --git a/MCGalaxy/Games/LavaSurvival/LSGame.Round.cs b/MCGalaxy/Games/LavaSurvival/LSGame.Round.cs index ab745e36a..454b24d99 100644 --- a/MCGalaxy/Games/LavaSurvival/LSGame.Round.cs +++ b/MCGalaxy/Games/LavaSurvival/LSGame.Round.cs @@ -30,7 +30,9 @@ namespace MCGalaxy.Games { RoundInProgress = true; Logger.Log(LogType.GameActivity, "[Lava Survival] Round started. Map: " + Map.ColoredName); + Map.SetPhysics(destroyMode ? 2 : 1); int secs = 0, layerSecs = 0; + while (RoundInProgress && secs < roundTotalSecs) { if (!Running) return; if ((secs % 60) == 0 && !flooded) { Map.Message(FloodTimeLeftMessage()); } @@ -96,8 +98,6 @@ namespace MCGalaxy.Games { protected override bool SetMap(string map) { if (!base.SetMap(map)) return false; - - Map.SetPhysics(destroyMode ? 2 : 1); Map.Config.PhysicsOverload = 1000000; return true; } diff --git a/MCGalaxy/Games/LavaSurvival/LSGame.cs b/MCGalaxy/Games/LavaSurvival/LSGame.cs index c4e9934e7..4602b3616 100644 --- a/MCGalaxy/Games/LavaSurvival/LSGame.cs +++ b/MCGalaxy/Games/LavaSurvival/LSGame.cs @@ -72,6 +72,8 @@ namespace MCGalaxy.Games { roundTotalSecs = (int)cfg.RoundTime.TotalSeconds; floodDelaySecs = (int)cfg.FloodTime.TotalSeconds; layerIntervalSecs = (int)cfg.LayerInterval.TotalSeconds; + + if (RoundInProgress) Map.SetPhysics(destroyMode ? 2 : 1); } protected override List GetPlayers() {