UI: Fix some DevMenu react errors, add number of exploits to savegame comparison (#825)

This commit is contained in:
missymae#2783
2023-10-02 21:28:16 -06:00
committed by GitHub
parent 7b00fcc5b1
commit 673efb427f
7 changed files with 54 additions and 30 deletions
+1 -3
View File
@@ -92,9 +92,7 @@ export function NetscriptSingularity(): InternalAPI<ISingularity> {
}
return res;
},
getOwnedSourceFiles: () => () => {
return [...Player.sourceFiles].map(([n, lvl]) => ({ n, lvl }));
},
getOwnedSourceFiles: () => () => [...Player.sourceFiles].map(([n, lvl]) => ({ n, lvl })),
getAugmentationFactions: (ctx) => (_augName) => {
helpers.checkSingularityAccess(ctx);
const augName = getEnumHelper("AugmentationName").nsGetMember(ctx, _augName);