Randomly generated maps inherit waves from the first map

This commit is contained in:
Taizo 'Tsa6' Simpson 2017-08-22 13:18:00 -04:00
parent 5d7e697525
commit 6456ef73c7

View File

@ -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}
} }
} }