Don't save cultist circle flag into every production on init
This commit is contained in:
parent
5496ab9557
commit
4a1c4be0e9
@ -125,7 +125,6 @@ export class HideoutHelper {
|
||||
recipeId: string,
|
||||
productionTime: number,
|
||||
needFuelForAllProductionTime: boolean,
|
||||
isCultistCircle = false,
|
||||
): IProduction {
|
||||
return {
|
||||
Progress: 0,
|
||||
@ -139,7 +138,6 @@ export class HideoutHelper {
|
||||
NeedFuelForAllProductionTime: needFuelForAllProductionTime, // Used when sending to client
|
||||
needFuelForAllProductionTime: needFuelForAllProductionTime, // used when stored in production.json
|
||||
SkipTime: 0,
|
||||
sptIsCultistCircle: isCultistCircle,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -182,9 +182,11 @@ export class CircleOfCultistService {
|
||||
recipeId,
|
||||
this.getCircleCraftTimeSeconds(rewardAmountRoubles, directRewardSettings),
|
||||
false,
|
||||
true,
|
||||
);
|
||||
|
||||
// Flag as cultist circle for code to pick up later
|
||||
cultistProduction.sptIsCultistCircle = true;
|
||||
|
||||
// Add items player sacrificed
|
||||
cultistProduction.GivenItemsInStart = sacrificedItems;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user