fix sleeve task selector not getting the right task when loading the screen

This commit is contained in:
Olivier Gagnon 2021-10-18 15:01:06 -04:00
parent e52eff7771
commit 7ef4df414f

@ -122,7 +122,7 @@ const tasks: {
};
},
"Commit Crime": (): ITaskDetails => {
return { first: Object.keys(Crimes), second: () => ["------"] };
return { first: Object.values(Crimes).map((crime) => crime.name), second: () => ["------"] };
},
"Take University Course": (player: IPlayer, sleeve: Sleeve): ITaskDetails => {
let universities: string[] = [];