Very barebones implementation of 'favorite' runs - not planning to implement any time soon though

This commit is contained in:
Frutescens 2024-07-30 15:15:16 -07:00
parent 72314f88dd
commit eaee12e3dc
1 changed files with 2 additions and 0 deletions

View File

@ -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));