1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 10:11:50 +00:00

Comply with ESLint.

This commit is contained in:
hexagonhexagon 2020-05-27 14:20:09 -04:00
parent 2694d20ff7
commit ec6f4ed9e9
2 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,11 @@ import { T } from "../../translations";
import { formatItemsPerSecond } from "../../core/utils";
/** @enum {string} */
export const enumSplitterVariants = { swapper: "swapper", compact: "compact", compactInverse: "compact-inverse" };
export const enumSplitterVariants = {
swapper: "swapper",
compact: "compact",
compactInverse: "compact-inverse"
};
export class MetaSplitterBuilding extends MetaBuilding {
constructor() {

View File

@ -126,10 +126,10 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
trackProduction = false;
for (let i = 0; i < items.length; ++i) {
let oppositeSlot = 1 - items[i].sourceSlot
let oppositeSlot = 1 - items[i].sourceSlot;
outItems.push({
item: items[i].item,
requiredSlot: oppositeSlot
requiredSlot: oppositeSlot,
});
}
break;