Very barebones implementation of 'favorite' runs - not planning to implement any time soon though
This commit is contained in:
parent
72314f88dd
commit
eaee12e3dc
|
@ -616,6 +616,8 @@ export class GameData {
|
|||
runHistoryData[timestamp] = {};
|
||||
runHistoryData[timestamp]["entry"] = runEntry;
|
||||
runHistoryData[timestamp]["victory"] = victory;
|
||||
//Not implemented at the moment, but leaving room for future work
|
||||
runHistoryData[timestamp]["favorite"] = false;
|
||||
|
||||
localStorage.setItem(`runHistoryData_${loggedInUser.username}`, encrypt(JSON.stringify(runHistoryData), true));
|
||||
|
||||
|
|
Loading…
Reference in New Issue