add difficulty to bitnode screen

This commit is contained in:
Olivier Gagnon
2021-09-21 16:49:38 -04:00
parent c3ac16f330
commit 57a5c8b0b4
13 changed files with 187 additions and 446 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export function TimeSkip(props: IProps): React.ReactElement {
return () => {
props.player.lastUpdate -= time;
props.engine._lastUpdate -= time;
saveObject.saveGame(props.engine.indexedDb);
saveObject.saveGame();
setTimeout(() => location.reload(), 1000);
};
}