fix: CrewShipFusion bug specify typecheck
All checks were successful
Build / build (pull_request) Successful in 1m23s
All checks were successful
Build / build (pull_request) Successful in 1m23s
This commit is contained in:
parent
eb4e4156c8
commit
8c8c651d63
@ -81,7 +81,7 @@ export const crewShipFusionController: RequestHandler = async (req, res) => {
|
||||
const newFval = (newPerc - rangeA[0]) / (rangeA[1] - rangeA[0]);
|
||||
buffA.Value = Math.trunc(newFval * 0x3fffffff);
|
||||
}
|
||||
if (inferiorFingerprint.SubroutineIndex) {
|
||||
if (inferiorFingerprint.SubroutineIndex !== undefined) {
|
||||
const useSuperiorSubroutine = tierA < tierB ? !payload.UseSubroutineA : payload.UseSubroutineA;
|
||||
if (!useSuperiorSubroutine) {
|
||||
fingerprint.SubroutineIndex = inferiorFingerprint.SubroutineIndex;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user