Skip to content

Commit

Permalink
Fix camSetVtolSpawnState() when the stop object label is passed
Browse files Browse the repository at this point in the history
We want to set the state for all spawners and not only for the first one encountered.
  • Loading branch information
KJeff01 committed Aug 16, 2023
1 parent 588bda8 commit 42d337b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion data/base/script/campaign/libcampaign_includes/vtol.js
Expand Up @@ -68,7 +68,6 @@ function camSetVtolSpawnState(state, identifier)
if (__camVtolDataSystem[idx].spawnStopObject === identifier)
{
__camVtolDataSystem[idx].active = state;
break;
}
}
}
Expand Down

0 comments on commit 42d337b

Please sign in to comment.