mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-09-20 11:01:45 +00:00
Update game.js
This commit is contained in:
parent
10f2c55753
commit
835a2caea8
|
@ -53,7 +53,7 @@ var eightButton = document.getElementById("eight");
|
|||
var tickSpeedButton = document.getElementById("tickSpeed");
|
||||
function set_cookie(cookie_name,value) {
|
||||
expiry = new Date();
|
||||
expiry.setTime(new Date().getTime() + (10*60*1000));
|
||||
expiry.setTime(new Date().getTime() + (365*24*60*60*1000));
|
||||
var c_value=escape(btoa(JSON.stringify(value))) +
|
||||
"; expires="+expiry.toUTCString();
|
||||
document.cookie=cookie_name + "=" + c_value;
|
||||
|
|
Loading…
Reference in New Issue
Block a user