Add day/night cycle

This commit is contained in:
Flashfyre committed 2023-12-29 21:04:40 -05:00
1 parent b04c7c8c3b
commit 5ef6f2da88
13 files changed
+392 -111

No files matched your search

-1
View File
@@ -427,7 +427,6 @@ export class GameData {
public exportData(dataType: GameDataType): void {
const dataKey: string = getDataTypeKey(dataType);
const dataStr = atob(localStorage.getItem(dataKey));
console.log(dataStr);
const encryptedData = AES.encrypt(dataStr, saveKey);
const blob = new Blob([ encryptedData.toString() ], {type: 'text/json'});
const link = document.createElement('a');