mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-27 23:41:14 -04:00
Merge pull request #295 from CybertronicToon/master
Made mushroom generation account for depth
This commit is contained in:
commit
390b200daf
@ -263,7 +263,7 @@ namespace ClassicalSharp.Generator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PlantMushrooms() {
|
void PlantMushrooms() {
|
||||||
int numPatches = width * length / 2000;
|
int numPatches = width * length * height / 2000;
|
||||||
CurrentState = "Planting mushrooms";
|
CurrentState = "Planting mushrooms";
|
||||||
|
|
||||||
for (int i = 0; i < numPatches; i++) {
|
for (int i = 0; i < numPatches; i++) {
|
||||||
@ -389,4 +389,4 @@ namespace ClassicalSharp.Generator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user