Randomly generated maps inherit waves from the first map
This commit is contained in:
parent
5d7e697525
commit
6456ef73c7
3
index.js
3
index.js
@ -341,7 +341,8 @@ window.onload = function () {
|
|||||||
console.log('Length: ',totalLength)
|
console.log('Length: ',totalLength)
|
||||||
|
|
||||||
//Return
|
//Return
|
||||||
return {tiles:tiles_out, pathgen:pathgen}
|
//Note: Currently inherits waves from the first map
|
||||||
|
return {tiles:tiles_out, pathgen:pathgen, waves:Maps.first.waves}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user