From 42d337bf7672f7236362ab68f68c839dea6f888f Mon Sep 17 00:00:00 2001 From: KJeff01 Date: Mon, 14 Aug 2023 21:36:11 -0500 Subject: [PATCH] Fix camSetVtolSpawnState() when the stop object label is passed We want to set the state for all spawners and not only for the first one encountered. --- data/base/script/campaign/libcampaign_includes/vtol.js | 1 - 1 file changed, 1 deletion(-) diff --git a/data/base/script/campaign/libcampaign_includes/vtol.js b/data/base/script/campaign/libcampaign_includes/vtol.js index 910b38a7502..32ee3317aaa 100644 --- a/data/base/script/campaign/libcampaign_includes/vtol.js +++ b/data/base/script/campaign/libcampaign_includes/vtol.js @@ -68,7 +68,6 @@ function camSetVtolSpawnState(state, identifier) if (__camVtolDataSystem[idx].spawnStopObject === identifier) { __camVtolDataSystem[idx].active = state; - break; } } }