mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Fix shape hash being incorrectly calculated
This commit is contained in:
@@ -163,6 +163,10 @@ export class ShapeDefinition extends BasicSerializableObject {
|
||||
id += "--";
|
||||
}
|
||||
}
|
||||
|
||||
if (layerIndex < this.layers.length - 1) {
|
||||
id += ":";
|
||||
}
|
||||
}
|
||||
this.cachedHash = id;
|
||||
return id;
|
||||
|
||||
Reference in New Issue
Block a user