mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 05:10:57 +00:00
fix ghost chunks and wait for generation on startup
This commit is contained in:
@ -50,6 +50,10 @@ public struct ChunkGeneration {
|
||||
}
|
||||
}
|
||||
|
||||
public func waitForActiveOperations() {
|
||||
self.queue.waitUntilAllOperationsAreFinished()
|
||||
}
|
||||
|
||||
public mutating func acceptReadyChunks() {
|
||||
guard let world = self.world else {
|
||||
return
|
||||
|
Reference in New Issue
Block a user