Updated addContainerImprovementToProfile
to better handle cultist circle
This commit is contained in:
parent
391273e7fb
commit
0839f34b9b
@ -281,8 +281,8 @@ export class HideoutController {
|
|||||||
// Add/upgrade stash item in player inventory
|
// Add/upgrade stash item in player inventory
|
||||||
this.addUpdateInventoryItemToProfile(pmcData, dbHideoutArea, hideoutStage);
|
this.addUpdateInventoryItemToProfile(pmcData, dbHideoutArea, hideoutStage);
|
||||||
|
|
||||||
// Dont inform client when upgraded area is hall of fame, BSG doesnt inform client upgrade has occurred, will break client if data is sent
|
// Dont inform client when upgraded area is hall of fame/cult circle, BSG doesn't inform client upgrade has occurred, will break client if data is sent
|
||||||
if (dbHideoutArea.type !== HideoutAreas.PLACE_OF_FAME) {
|
if (![HideoutAreas.PLACE_OF_FAME, HideoutAreas.CIRCLE_OF_CULTISTS].includes(dbHideoutArea.type)) {
|
||||||
// Inform client of changes
|
// Inform client of changes
|
||||||
this.addContainerUpgradeToClientOutput(output, sessionID, dbHideoutArea.type, dbHideoutArea, hideoutStage);
|
this.addContainerUpgradeToClientOutput(output, sessionID, dbHideoutArea.type, dbHideoutArea, hideoutStage);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user