Skip to content

Conversation

@Goober5000
Copy link
Contributor

If you have a ship that hasn't arrived yet, and that ship has a turret with a changed weapon on it, then restoring a checkpoint will cause a crash. This is because subsystems on parse objects use the weapon class directly, not weaponbanktype. This PR fixes the crash.

If you have a ship that hasn't arrived yet, and that ship has a turret with a changed weapon on it, then restoring a checkpoint will cause a crash.  This is because subsystems on parse objects use the weapon class directly, not weaponbanktype.  This PR fixes the crash.
Goober5000 added a commit to Goober5000/fso-scripts that referenced this pull request Aug 19, 2022
…t with a changed weapon on it, then restoring a checkpoint will cause a crash. This is because subsystems on parse objects use the weapon class directly, not weaponbanktype. This PR fixes the crash.

This corresponds to the old PR 6:
AxemP/AxemFS2Scripts#6
Goober5000 added a commit to Goober5000/fso-scripts that referenced this pull request Aug 19, 2022
If you have a ship that hasn't arrived yet, and that ship has a turret with a changed weapon on it, then restoring a checkpoint will cause a crash. This is because subsystems on parse objects use the weapon class directly, not weaponbanktype. This PR fixes the crash.

This corresponds to the old PR 6:
AxemP/AxemFS2Scripts#6
BMagnu pushed a commit to FSO-Scripters/fso-scripts that referenced this pull request Aug 19, 2022
If you have a ship that hasn't arrived yet, and that ship has a turret with a changed weapon on it, then restoring a checkpoint will cause a crash. This is because subsystems on parse objects use the weapon class directly, not weaponbanktype. This PR fixes the crash.

This corresponds to the old PR 6:
AxemP/AxemFS2Scripts#6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant