Forgot that lazies should always be unserialized

This commit is contained in:
Yair Morgenstern 2022-02-10 16:12:59 +02:00
parent 87e2764733
commit c7db212c50

View File

@ -663,6 +663,7 @@ open class TileInfo {
}
}
@delegate:Transient
private val isAdjacentToRiverLazy by lazy { neighbors.any { isConnectedByRiver(it) } }
fun isAdjacentToRiver() = isAdjacentToRiverLazy