This commit is contained in:
unknown
2012-10-05 02:29:26 +02:00
parent abda7aed94
commit 1de4cc88f4
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -17,6 +17,9 @@ if(isset($_GET['newdid'])) {
$_SESSION['wid'] = $_GET['newdid'];
header("Location: ".$_SERVER['PHP_SELF'].(isset($_GET['id'])?'?id='.$_GET['id']:(isset($_GET['gid'])?'?gid='.$_GET['gid']:'')));
}
if($_GET['id'] == 99 && $village->natar == 0){
header("Location: dorf2.php");
}
if(isset($_GET['buildingFinish'])) {
if($session->gold >= 2) {
$building->finishAll();