mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
lint fix
Fix sloppy unlinted hotfix code
This commit is contained in:
parent
e03a366f12
commit
ad3b217b8f
@ -425,7 +425,7 @@ export class Division {
|
|||||||
if (producableFrac > 0 && prod > 0) {
|
if (producableFrac > 0 && prod > 0) {
|
||||||
const requiredMatsEntries = getRecordEntries(this.requiredMaterials);
|
const requiredMatsEntries = getRecordEntries(this.requiredMaterials);
|
||||||
let avgQlt = 0;
|
let avgQlt = 0;
|
||||||
let divider = requiredMatsEntries.length;
|
const divider = requiredMatsEntries.length;
|
||||||
for (const [reqMatName, reqMat] of requiredMatsEntries) {
|
for (const [reqMatName, reqMat] of requiredMatsEntries) {
|
||||||
const reqMatQtyNeeded = reqMat * prod * producableFrac;
|
const reqMatQtyNeeded = reqMat * prod * producableFrac;
|
||||||
warehouse.materials[reqMatName].stored -= reqMatQtyNeeded;
|
warehouse.materials[reqMatName].stored -= reqMatQtyNeeded;
|
||||||
|
@ -23,7 +23,6 @@ import Box from "@mui/material/Box";
|
|||||||
import { LimitMaterialProductionModal } from "./modals/LimitMaterialProductionModal";
|
import { LimitMaterialProductionModal } from "./modals/LimitMaterialProductionModal";
|
||||||
import { CityName } from "../../Enums";
|
import { CityName } from "../../Enums";
|
||||||
import { CorpUnlockName } from "../data/Enums";
|
import { CorpUnlockName } from "../data/Enums";
|
||||||
import { getRecordKeys } from "../../Types/Record";
|
|
||||||
|
|
||||||
interface IMaterialProps {
|
interface IMaterialProps {
|
||||||
warehouse: Warehouse;
|
warehouse: Warehouse;
|
||||||
|
Loading…
Reference in New Issue
Block a user