Add day/night cycle
This commit is contained in:
1 parent
b04c7c8c3b
commit
5ef6f2da88
13 files changed
+392
-111
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user