From cb1a7292886aed23eb96563a273e6c808aaddc54 Mon Sep 17 00:00:00 2001 From: Sense101 <67970865+Sense101@users.noreply.github.com> Date: Thu, 24 Jun 2021 18:27:59 +0100 Subject: [PATCH] added back easter egg --- src/js/game/blueprint.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/js/game/blueprint.js b/src/js/game/blueprint.js index a2aa7186..3e7cdaa6 100644 --- a/src/js/game/blueprint.js +++ b/src/js/game/blueprint.js @@ -101,11 +101,8 @@ export class Blueprint { const entity = this.entities[i]; const staticComp = entity.components.StaticMapEntity; - if (staticComp.getMetaBuilding().getIsRotateable()) { - staticComp.rotation = (staticComp.rotation + 90) % 360; - staticComp.originalRotation = (staticComp.originalRotation + 90) % 360; - } - + staticComp.rotation = (staticComp.rotation + 90) % 360; + staticComp.originalRotation = (staticComp.originalRotation + 90) % 360; staticComp.origin = staticComp.origin.rotateFastMultipleOf90(90); } }