mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 07:36:07 +00:00
fix change village system 100%, change natars access again and fix natars ranking
This commit is contained in:
@@ -15,9 +15,16 @@ include("GameEngine/Village.php");
|
||||
$start = $generator->pageLoadTimeStart();
|
||||
if(isset($_GET['newdid'])) {
|
||||
$_SESSION['wid'] = $_GET['newdid'];
|
||||
if(isset($_GET['d'])){
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?d=".$_GET['d']);
|
||||
}
|
||||
else if(isset($_GET['c'])){
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?c=".$_GET['c']);
|
||||
}
|
||||
else{
|
||||
header("Location: ".$_SERVER['PHP_SELF']);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$building->procBuild($_GET);
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user