mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
General fixes
+Removed the timer that triggered the automation file (it was just for testing purposes), Automation.php will be now called once for page refresh
This commit is contained in:
@@ -48,7 +48,7 @@ $_SESSION[ 'csrf' ] = $key;
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<script src="mt-core.js?0faab" type="text/javascript"></script>
|
||||
<script src="mt-more.js?0faab" type="text/javascript"></script>
|
||||
<script src="unx.js?f4b7i" type="text/javascript"></script>
|
||||
<script src="unx.js?f4b7j" type="text/javascript"></script>
|
||||
<script src="new.js?0faab" type="text/javascript"></script>
|
||||
<link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7h" rel="stylesheet" type="text/css" />
|
||||
<link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css" />
|
||||
|
||||
@@ -7,7 +7,7 @@ automation();
|
||||
function automation() {
|
||||
this.xhttp.open("GET", "GameEngine/Automation.php", true);
|
||||
this.xhttp.send();
|
||||
setTimeout(function(){ automation(); }, 1000);
|
||||
//setTimeout(function(){ automation(); }, 1000);
|
||||
}
|
||||
function gb(){return hb('height');}
|
||||
function ib(){return hb('width');}
|
||||
|
||||
Reference in New Issue
Block a user