Dont inform client when hall of fame is upgraded as BSG doesnt inform the client upgrade has occurred, Prevents client from locking up
This commit is contained in:
parent
b963e233f7
commit
963e0a8739
@ -293,8 +293,12 @@ 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);
|
||||||
|
|
||||||
// Inform client of changes
|
// Dont inform client when upgraded area is hall of fame, BSG doesnt inform client upgrade has occurred, will break client if data is sent
|
||||||
this.addContainerUpgradeToClientOutput(output, sessionID, dbHideoutArea.type, dbHideoutArea, hideoutStage);
|
if (dbHideoutArea.type !== HideoutAreas.PLACE_OF_FAME)
|
||||||
|
{
|
||||||
|
// Inform client of changes
|
||||||
|
this.addContainerUpgradeToClientOutput(output, sessionID, dbHideoutArea.type, dbHideoutArea, hideoutStage);
|
||||||
|
}
|
||||||
|
|
||||||
// Some areas like gun stand have a child area linked to it, it needs to do the same as above
|
// Some areas like gun stand have a child area linked to it, it needs to do the same as above
|
||||||
const childDbArea = this.databaseServer.getTables().hideout.areas.find((x) =>
|
const childDbArea = this.databaseServer.getTables().hideout.areas.find((x) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user