From 6456ef73c7eb344f53b22a504b1ae9f260d9315f Mon Sep 17 00:00:00 2001 From: Taizo 'Tsa6' Simpson Date: Tue, 22 Aug 2017 13:18:00 -0400 Subject: [PATCH] Randomly generated maps inherit waves from the first map --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 68dc3d5..8f55bc8 100644 --- a/index.js +++ b/index.js @@ -341,7 +341,8 @@ window.onload = function () { console.log('Length: ',totalLength) //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} } }