1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-06 09:34:05 +00:00

Fix shape hash being incorrectly calculated

This commit is contained in:
tobspr 2020-05-14 08:10:15 +02:00
parent bf79f17776
commit ca3f4ff02a

View File

@ -163,6 +163,10 @@ export class ShapeDefinition extends BasicSerializableObject {
id += "--";
}
}
if (layerIndex < this.layers.length - 1) {
id += ":";
}
}
this.cachedHash = id;
return id;