mirror of
https://github.com/ciribob/DCS-CSAR.git
synced 2025-10-29 16:56:07 +00:00
Update CSAR.lua
Generates Csar every time even when crash
This commit is contained in:
committed by
GitHub
parent
451a5bfc5a
commit
927625ad64
6
CSAR.lua
6
CSAR.lua
@@ -320,7 +320,7 @@ function csar.eventHandler:onEvent(_event)
|
||||
|
||||
return true
|
||||
|
||||
elseif (_event.id == 9) then
|
||||
--[[ elseif (_event.id == 9) then
|
||||
-- Pilot dead
|
||||
|
||||
env.info("Event unit - Pilot Dead")
|
||||
@@ -355,8 +355,8 @@ function csar.eventHandler:onEvent(_event)
|
||||
end
|
||||
|
||||
return
|
||||
|
||||
elseif world.event.S_EVENT_EJECTION == _event.id then
|
||||
]]
|
||||
elseif _event.id == 9 or world.event.S_EVENT_EJECTION == _event.id then
|
||||
|
||||
env.info("Event unit - Pilot Ejected")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user