Fix for Fuel in Generator setting itself to 0.
This commit is contained in:
parent
5201f75fd7
commit
070beec63b
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"airFilterUnitFlowRate": 0.0047222222222222,
|
"airFilterUnitFlowRate": 0.0047222222222222,
|
||||||
"constructionTime": 1,
|
"constructionTime": 1,
|
||||||
"fuelDrainRate": 0.0013194444444444,
|
"generatorFuelFlowRate": 0.0013194444444444,
|
||||||
"gpuBoostRate": 0.015,
|
"gpuBoostRate": 0.015,
|
||||||
"productionTime": 1,
|
"productionTime": 1,
|
||||||
"scavCaseTime": 1
|
"scavCaseTime": 1
|
||||||
|
@ -8,7 +8,7 @@ export class Hideout
|
|||||||
private modConfig: HideoutConfig = require("../config/hideout.json")
|
private modConfig: HideoutConfig = require("../config/hideout.json")
|
||||||
private logger: Logger;
|
private logger: Logger;
|
||||||
private tables: DatabaseServer;
|
private tables: DatabaseServer;
|
||||||
private hideout: IHideoutConfig
|
private hideout: IHideoutConfig;
|
||||||
|
|
||||||
constructor(logger: Logger, databaseServer: DatabaseServer, hideout: IHideoutConfig)
|
constructor(logger: Logger, databaseServer: DatabaseServer, hideout: IHideoutConfig)
|
||||||
{
|
{
|
||||||
@ -54,7 +54,8 @@ export class Hideout
|
|||||||
|
|
||||||
private updateConstructionTime()
|
private updateConstructionTime()
|
||||||
{
|
{
|
||||||
for (const area of this.tables.getTables().hideout.areas)
|
const hideout = this.tables.getTables().hideout.areas;
|
||||||
|
for (const area of hideout)
|
||||||
{
|
{
|
||||||
for (const stage in area.stages)
|
for (const stage in area.stages)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user