should fix the issue, maybe

This commit is contained in:
Vermilingua
2013-10-29 18:33:07 +11:00
parent 363119717e
commit 55c93772db
+2
View File
@@ -235,6 +235,8 @@ var Engine = {
import64: function() {
var string64 = prompt("put the save code here.","");
string64 = string64.replace(/\s/g, '');
string64 = string64.replace(/\W/g, '');
var decodedSave = Base64.decode(string64);
localStorage.gameState = decodedSave;
location.reload();