From ad3d1ae38908734956bdc8cec29409815cdb926b Mon Sep 17 00:00:00 2001 From: TcePrepK <56453014+TcePrepK@users.noreply.github.com> Date: Fri, 30 Oct 2020 14:36:23 +0300 Subject: [PATCH] Prettier --- src/js/game/systems/display.js | 2 +- src/js/game/systems/wired_pins.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/game/systems/display.js b/src/js/game/systems/display.js index 4540b199..4d6da65f 100644 --- a/src/js/game/systems/display.js +++ b/src/js/game/systems/display.js @@ -90,7 +90,7 @@ export class DisplaySystem extends GameSystemWithFilter { (origin.y + 0.5) * globalConfig.tileSize, parameters, 30 - ); + ); } value.drawItemCenteredClipped( (origin.x + 0.5) * globalConfig.tileSize, diff --git a/src/js/game/systems/wired_pins.js b/src/js/game/systems/wired_pins.js index cc1365b1..a002e850 100644 --- a/src/js/game/systems/wired_pins.js +++ b/src/js/game/systems/wired_pins.js @@ -190,8 +190,8 @@ export class WiredPinsSystem extends GameSystemWithFilter { if (staticComp.getMetaBuilding().getRenderPins()) { this.sprite = this.pinSprites[slot.type]; - if (staticComp.getMetaBuilding().id == "display") { - this.sprite = Loader.getSprite("sprites/wires/display_logical_acceptor.png") + if (staticComp.getMetaBuilding().id == "display") { + this.sprite = Loader.getSprite("sprites/wires/display_logical_acceptor.png"); } drawRotatedSprite({ parameters, @@ -202,7 +202,7 @@ export class WiredPinsSystem extends GameSystemWithFilter { size: globalConfig.tileSize + 2, offsetX: 0, offsetY: 0, - }); + }); } // Draw contained item to visualize whats emitted