fix: CrewShipFusion bug with SubroutineIndex #2714
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "AlexisinGit/SpaceNinjaServerAlexFork:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Crewship fusion didn't agree with player's choice.
Expected results:
What I actually get:
The interface already demand SubroutineIndex to exist, so it would be unnecessary to check.
Meanwhile, inferiorFingerprint.SubroutineIndex could be 0, 1, 2... and might be handled incorrectly as true/ false.
I see there's a bug here, but I do think you should simply change the condition to
inferiorFingerprint.SubroutineIndex !== undefinedto avoid 0 being treated as false. I'm not sure outright removing it is a great idea.It is done. A little type check won't do no harm.