1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-21 15:29:20 +00:00
This commit is contained in:
TcePrepK 2020-10-30 14:36:23 +03:00
parent 455ef08fef
commit ad3d1ae389
2 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ export class DisplaySystem extends GameSystemWithFilter {
(origin.y + 0.5) * globalConfig.tileSize, (origin.y + 0.5) * globalConfig.tileSize,
parameters, parameters,
30 30
); );
} }
value.drawItemCenteredClipped( value.drawItemCenteredClipped(
(origin.x + 0.5) * globalConfig.tileSize, (origin.x + 0.5) * globalConfig.tileSize,

View File

@ -190,8 +190,8 @@ export class WiredPinsSystem extends GameSystemWithFilter {
if (staticComp.getMetaBuilding().getRenderPins()) { if (staticComp.getMetaBuilding().getRenderPins()) {
this.sprite = this.pinSprites[slot.type]; this.sprite = this.pinSprites[slot.type];
if (staticComp.getMetaBuilding().id == "display") { if (staticComp.getMetaBuilding().id == "display") {
this.sprite = Loader.getSprite("sprites/wires/display_logical_acceptor.png") this.sprite = Loader.getSprite("sprites/wires/display_logical_acceptor.png");
} }
drawRotatedSprite({ drawRotatedSprite({
parameters, parameters,
@ -202,7 +202,7 @@ export class WiredPinsSystem extends GameSystemWithFilter {
size: globalConfig.tileSize + 2, size: globalConfig.tileSize + 2,
offsetX: 0, offsetX: 0,
offsetY: 0, offsetY: 0,
}); });
} }
// Draw contained item to visualize whats emitted // Draw contained item to visualize whats emitted