1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-18 22:09: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,
parameters,
30
);
);
}
value.drawItemCenteredClipped(
(origin.x + 0.5) * globalConfig.tileSize,

View File

@ -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