linuxgurugamer / FTLDriveContinued

Other
4 stars 4 forks source link

Fix resource consumption issue on jump execution so only ElectricCharge and StoredCharge are zeroed out #30

Closed epower53 closed 2 years ago

epower53 commented 2 years ago

Fixed the non-EC resource consumption on jump execution. Now only EC will be drained, while other resources are left as-is.

epower53 commented 2 years ago

Easy fix, although it does tie FTLDriveContinued down a bit in that the fix only allows EC to be zeroed out on a jump. If the base resource powering an FTL jump changes in the future, the fix will need to be modified.

epower53 commented 2 years ago

Updated the fix to differentiate between ElectricCharge and StoredCharge.

linuxgurugamer commented 2 years ago

Thanks