1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Fix shape hash being incorrectly calculated

This commit is contained in:
tobspr 2020-05-14 08:10:15 +02:00
parent 7562df5e6f
commit c6771461a1

View File

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