diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/server/world/ServerWorld.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/server/world/ServerWorld.kt index 7c064149..03c0395b 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/server/world/ServerWorld.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/server/world/ServerWorld.kt @@ -756,7 +756,7 @@ class ServerWorld private constructor( currentDungeonID++ break } - } while (--spawnDungeonRetries > 0) + } while (spawnDungeonRetries-- > 0) } }