kronosaur / TranscendenceDev

Explore the farthest reaches of Human Space in this open-world space adventure.
https://transcendence.kronosaur.com
Other
31 stars 15 forks source link

Fix `burstTracksTargets` repeating weapon aim when target destroyed during burst #55

Closed exinfinitum closed 4 years ago

exinfinitum commented 4 years ago

Presently, when a gun with burstTracksTargets is aiming at a target that is destroyed during the burst, the gun continues the burst at that given firing angle regardless of the ship's orientation (even if the firing angle is outside the gun's fire arc). This fix makes the gun fire down the default fire angle if the target is destroyed during the burst.

gmoromisato commented 4 years ago

Thank you!