Fix: null guard bonus check during upgradeComplete
This commit is contained in:
parent
32afbffcda
commit
43ad523dce
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user