mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Silenced undefined warning
This commit is contained in:
parent
64e8934d02
commit
2a252f19d8
@ -89,6 +89,7 @@ export class GameController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public load(): void {
|
public load(): void {
|
||||||
|
// Runs on server start
|
||||||
this.postDbLoadService.performPostDbLoadActions();
|
this.postDbLoadService.performPostDbLoadActions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -350,7 +350,7 @@ export class RagfairOfferGenerator {
|
|||||||
|
|
||||||
// get assort items from param if they exist, otherwise grab freshly generated assorts
|
// get assort items from param if they exist, otherwise grab freshly generated assorts
|
||||||
const assortItemsToProcess: IItem[][] = replacingExpiredOffers
|
const assortItemsToProcess: IItem[][] = replacingExpiredOffers
|
||||||
? expiredOffers
|
? expiredOffers ?? []
|
||||||
: this.ragfairAssortGenerator.getAssortItems();
|
: this.ragfairAssortGenerator.getAssortItems();
|
||||||
|
|
||||||
// Create offers for each item set concurrently
|
// Create offers for each item set concurrently
|
||||||
|
Loading…
x
Reference in New Issue
Block a user