mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-01-08 02:02:47 -08:00
Fix shape hash being incorrectly calculated
This commit is contained in:
parent
bf79f17776
commit
ca3f4ff02a
1 changed files with 4 additions and 0 deletions
|
|
@ -163,6 +163,10 @@ export class ShapeDefinition extends BasicSerializableObject {
|
|||
id += "--";
|
||||
}
|
||||
}
|
||||
|
||||
if (layerIndex < this.layers.length - 1) {
|
||||
id += ":";
|
||||
}
|
||||
}
|
||||
this.cachedHash = id;
|
||||
return id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue