API: Standardize "nextCompletion" promise in tasks (#2687)

This commit is contained in:
catloversg
2026-04-28 13:49:53 +07:00
committed by GitHub
parent ee3014b029
commit 36e1adf2d2
72 changed files with 1750 additions and 364 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ export function NetscriptGrafting(): InternalAPI<IGrafting> {
`The current work is not a grafting work. Type of current work: ${Player.currentWork.type}.`,
);
}
return Player.currentWork.completion;
return Player.currentWork.nextCompletion;
},
};
}