diff --git a/TrueCraft/MultiplayerServer.cs b/TrueCraft/MultiplayerServer.cs index 7ef14ae..93a8cc7 100644 --- a/TrueCraft/MultiplayerServer.cs +++ b/TrueCraft/MultiplayerServer.cs @@ -378,16 +378,9 @@ namespace TrueCraft { } } - if (ChunksToSchedule.Count != 0) - { - int attempts = 50; - while (attempts-- > 0) - { - Tuple t; - if (ChunksToSchedule.TryTake(out t)) - ScheduleUpdatesForChunk(t.Item1, t.Item2); - } - } + Tuple t; + if (ChunksToSchedule.TryTake(out t)) + ScheduleUpdatesForChunk(t.Item1, t.Item2); EnvironmentWorker.Change(1000 / 20, 0); }