Update build.php

This commit is contained in:
Shadowss
2013-11-01 09:34:27 +02:00
parent 790c726ca4
commit bea9d93ebb
+7 -7
View File
@@ -340,12 +340,12 @@ if(isset($_GET['id']) or isset($_GET['gid']) or $route == 1 or isset($_GET['rout
else {
include("Templates/Build/".$village->resarray['f'.$_GET['id'].'t'].".tpl");
}
if($_GET['buildingFinish'] == 1) {
if($session->gold >= 2) {
$building->finishAll();
header("Location: build.php?gid=15");
}
}
if($_GET['buildingFinish'] == 1) {
if($session->gold >= 2) {
$building->finishAll();
header("Location: build.php?gid=".$_GET['id']."&ty=".$_GET['ty']);
}
}
}
}else{
header("Location: dorf1.php");
@@ -385,4 +385,4 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
<div id="ce"> </div>
</body>
</html>
</html>