0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:10:43 -05:00

Silenced undefined warning

This commit is contained in:
Chomp 2025-01-03 10:24:23 +00:00
parent 64e8934d02
commit 2a252f19d8
2 changed files with 2 additions and 1 deletions

View File

@ -89,6 +89,7 @@ export class GameController {
}
public load(): void {
// Runs on server start
this.postDbLoadService.performPostDbLoadActions();
}

View File

@ -350,7 +350,7 @@ export class RagfairOfferGenerator {
// get assort items from param if they exist, otherwise grab freshly generated assorts
const assortItemsToProcess: IItem[][] = replacingExpiredOffers
? expiredOffers
? expiredOffers ?? []
: this.ragfairAssortGenerator.getAssortItems();
// Create offers for each item set concurrently