0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 21:50:43 -05:00

Fix: null guard bonus check during upgradeComplete

This commit is contained in:
Dev 2023-03-25 16:35:38 +00:00
parent 32afbffcda
commit 43ad523dce

View File

@ -189,7 +189,7 @@ export class HideoutController
// Apply bonuses
const bonuses = hideoutData.stages[hideoutArea.level].bonuses;
if (bonuses.length > 0)
if (bonuses?.length > 0)
{
for (const bonus of bonuses)
{