Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Henning Berge committed Mar 24, 2021
1 parent cc1fe7d commit 918e682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game-engine/config/shop-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class Shop {
if(whatClosed && whatClosed.widget && whatClosed.widget.widgetId === widgets.shop.widgetId) {
this.removePlayerFromShop(player);
}
})
});

player.outgoingPackets.updateWidgetString(widgets.shop.widgetId, widgets.shop.title, this.name);
player.outgoingPackets.sendUpdateAllWidgetItems(widgets.shop, this.container);
Expand All @@ -120,7 +120,7 @@ export class Shop {

private updateCustomers() {
for (const player of this.customers) {
if(player.metadata['lastOpenedShop'] === this){
if(player.metadata['lastOpenedShop'] === this) {
player.outgoingPackets.sendUpdateAllWidgetItems(widgets.shop, this.container);
} else {
this.removePlayerFromShop(player);
Expand Down

0 comments on commit 918e682

Please sign in to comment.