mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
added back easter egg
This commit is contained in:
parent
20c24f5997
commit
cb1a729288
@ -101,11 +101,8 @@ export class Blueprint {
|
|||||||
const entity = this.entities[i];
|
const entity = this.entities[i];
|
||||||
const staticComp = entity.components.StaticMapEntity;
|
const staticComp = entity.components.StaticMapEntity;
|
||||||
|
|
||||||
if (staticComp.getMetaBuilding().getIsRotateable()) {
|
staticComp.rotation = (staticComp.rotation + 90) % 360;
|
||||||
staticComp.rotation = (staticComp.rotation + 90) % 360;
|
staticComp.originalRotation = (staticComp.originalRotation + 90) % 360;
|
||||||
staticComp.originalRotation = (staticComp.originalRotation + 90) % 360;
|
|
||||||
}
|
|
||||||
|
|
||||||
staticComp.origin = staticComp.origin.rotateFastMultipleOf90(90);
|
staticComp.origin = staticComp.origin.rotateFastMultipleOf90(90);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user