mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 13:27:22 -04:00
Forgot that lazies should always be unserialized
This commit is contained in:
parent
87e2764733
commit
c7db212c50
@ -663,6 +663,7 @@ open class TileInfo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@delegate:Transient
|
||||||
private val isAdjacentToRiverLazy by lazy { neighbors.any { isConnectedByRiver(it) } }
|
private val isAdjacentToRiverLazy by lazy { neighbors.any { isConnectedByRiver(it) } }
|
||||||
fun isAdjacentToRiver() = isAdjacentToRiverLazy
|
fun isAdjacentToRiver() = isAdjacentToRiverLazy
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user