Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0
This commit is contained in:
commit
171d39d5cf
@ -716,7 +716,8 @@
|
||||
"64e73909cd54ef0580746af3",
|
||||
"64e74a2fc2b4f829615ec332",
|
||||
"64e74a274d49d23b2c39d317",
|
||||
"64f09c02b63b74469b6c149f"
|
||||
"64f09c02b63b74469b6c149f",
|
||||
"64f07f7726cfa02c506f8ac0"
|
||||
],
|
||||
"laboratory": [
|
||||
"6398a4cfb5992f573c6562b3",
|
||||
|
@ -292,7 +292,9 @@ export class HideoutHelper
|
||||
|
||||
// Increment progress by time passed
|
||||
const production = pmcData.Hideout.Production[prodId];
|
||||
production.Progress += production.needFuelForAllProductionTime ? 0 : timeElapsed; // Some items NEED power to craft (e.g. DSP)
|
||||
production.Progress += (production.needFuelForAllProductionTime && !hideoutProperties.isGeneratorOn)
|
||||
? 0
|
||||
: timeElapsed; // Some items NEED power to craft (e.g. DSP)
|
||||
|
||||
// Limit progress to total production time if progress is over (dont run for continious crafts))
|
||||
if (!recipe.continuous)
|
||||
|
Loading…
Reference in New Issue
Block a user