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:
+11
@@ -19,6 +19,17 @@
|
||||
include ("GameEngine/Chat.php");
|
||||
$start = $generator->pageLoadTimeStart();
|
||||
$alliance->procAlliance($_GET);
|
||||
if(isset($_GET['newdid'])) {
|
||||
$_SESSION['wid'] = $_GET['newdid'];
|
||||
if(isset($_GET['s'])){
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?s=".$_GET['s']);
|
||||
}else if(isset($_GET['aid'])){
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?aid=".$_GET['aid']);
|
||||
}
|
||||
else{
|
||||
header("Location: ".$_SERVER['PHP_SELF']);
|
||||
}
|
||||
}
|
||||
if(isset($_GET['s'])){
|
||||
$automation->isWinner();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user