mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 05:10:57 +00:00
world regen clears all chunks
This commit is contained in:
@ -32,6 +32,8 @@ class Game: GameDelegate {
|
||||
}
|
||||
|
||||
private func generateWorld() {
|
||||
self.world.removeAllChunks()
|
||||
self.renderChunks.removeAll()
|
||||
let seed = UInt64(Arc4Random.instance.next()) | UInt64(Arc4Random.instance.next()) << 32
|
||||
printErr(seed)
|
||||
#if DEBUG
|
||||
|
Reference in New Issue
Block a user