Skip to content

Commit

Permalink
Update build.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowss committed Nov 1, 2013
1 parent 790c726 commit bea9d93
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,12 +340,12 @@
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");
Expand Down Expand Up @@ -385,4 +385,4 @@

<div id="ce"> </div>
</body>
</html>
</html>

0 comments on commit bea9d93

Please sign in to comment.