From bb562aba328e63637fc8334a5ca7c8bf3131d7a4 Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Tue, 13 May 2014 04:40:15 +0200 Subject: [PATCH] + Overly lengtly comment changed. --- app/lib/world/world.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/world/world.coffee b/app/lib/world/world.coffee index 8dd139364..df10ac13c 100644 --- a/app/lib/world/world.coffee +++ b/app/lib/world/world.coffee @@ -35,7 +35,7 @@ module.exports = class World @frames = [new WorldFrame(@, 0)] getSeed: -> - #Packs all methods in all thangs in one big array, then sorts and joins them. Then returns a hash value of the result. + #Generates a seed that depends on the usercode @hashString((methods for thangID, methods of @userCodeMap).reduce(((ret, methods) -> ret.push method for methodID, method of methods ), []).sort().join())