mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 19:41:23 +01:00
Fixed placeBiomeIcons Method Signature
This commit is contained in:
parent
27238b077f
commit
b499a9573a
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
if (height < 50) placeBiomeIcons(i, b); else placeReliefIcons(i);
|
||||
|
||||
function placeBiomeIcons() {
|
||||
function placeBiomeIcons(i, b) {
|
||||
const iconsDensity = biomesData.iconsDensity[b] / 100;
|
||||
const radius = 2 / iconsDensity / density;
|
||||
if (Math.random() > iconsDensity * 10) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue