title: Why does my load function not work?
body: <p>I added a save function to my "game", but now the load function does not work.</p>
  
  <pre><code>function loadGame() {
      if(!localStorage.cookieCloneSave) {
          return;
      }
      else {
          player = eval(localStorage.cookieCloneSave);
          updateCookies();
          updateCps();
          updateBuildings();
      }
  }
  </code></pre>
  
  <p>the load function causes the game to ignore any input as far as I can see, and it most definitely does not load save data.</p>
  
  <p>EDIT: If I try to use JSON.parse() instead of eval() it doesn't work either, that's why I used eval() in the first place.</p>
  
  <p>Here is the JSfiddle: <a href="http://jsfiddle.net/TieSoul/Jjmdv/15/" rel="nofollow">http://jsfiddle.net/TieSoul/Jjmdv/15/</a></p>