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:
iopietro
2018-05-23 20:08:48 +02:00
parent fca22ac98b
commit 989296d742
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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" />
+1 -1
View File
@@ -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');}