Phobos-developers / Phobos

Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
GNU Lesser General Public License v3.0
302 stars 97 forks source link

[Minor] Another reloader crash fix #1356

Closed Coronia closed 3 months ago

Coronia commented 3 months ago

Current techno destructor will only clear TransportReloader list when the techno has a Transporter. This might cause issue when the Transporter somehow being destroyed earlier than the techno, resulting in the list fails to be cleared and crash. Removed that Transporter condition to prevent this

github-actions[bot] commented 3 months ago

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.