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:
parent
bf79f17776
commit
ca3f4ff02a
@ -163,6 +163,10 @@ export class ShapeDefinition extends BasicSerializableObject {
|
||||
id += "--";
|
||||
}
|
||||
}
|
||||
|
||||
if (layerIndex < this.layers.length - 1) {
|
||||
id += ":";
|
||||
}
|
||||
}
|
||||
this.cachedHash = id;
|
||||
return id;
|
||||
|
Loading…
Reference in New Issue
Block a user