Update common/src/main/java/dev/lucasnlm/antimine/common/level/LevelFacade.kt

This commit is contained in:
Lucas Nunes 2020-03-25 11:07:43 -03:00 committed by GitHub
parent aa8d1f3346
commit ebd029e7ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ class LevelFacade {
it.safeZone = true
}
findCrossNeighbors().forEach { neighbor ->
findCrossNeighbors().forEach { neighbor ->
neighbor
.findCrossNeighbors()
.filterNot { it.safeZone }