Endless world, still some bugs to figure out
This commit is contained in:
@@ -81,6 +81,7 @@ impl World {
|
||||
pub fn load_chunk(&mut self, pos: Vector3<i32>) ->bool {
|
||||
// Abort if chunk is already loaded
|
||||
if let Some(_) = self.chunks.get(&pos) {
|
||||
println!("Chunk at {:?} already loaded", pos);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user