Remove dcs capture event from state json

With the latest change we added capture zones and corresponding trigger rules for all Airfields as well so we do not need to rely on the dcs capture event S_EVENT_BASE_CAPTURED anymore.
This commit is contained in:
RndName
2022-11-23 10:32:41 +01:00
committed by Raffson
parent 8292da414d
commit 4b0215c16f
2 changed files with 2 additions and 14 deletions

View File

@@ -160,11 +160,6 @@ local function onEvent(event)
write_state()
end
if event.id == world.event.S_EVENT_BASE_CAPTURED and event.place then
base_capture_events[#base_capture_events + 1] = event.place.getID(event.place) .. "||" .. event.place.getCoalition(event.place) .. "||" .. event.place.getName(event.place)
write_state()
end
if event.id == world.event.S_EVENT_MISSION_END then
mission_ended = true
write_state()