mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 10:34:31 +00:00
Merge pull request #232 from hexcoded/patch-3
Occupied/Unoccupied Oasis name fix
This commit is contained in:
@@ -469,7 +469,7 @@ if($type==18 or $type==19 or $type==20 or $type==21){
|
||||
$enough_cp = false;
|
||||
}
|
||||
|
||||
$otext = ($basearray['occupied'] == 1)? "occupied" : "unoccupied";
|
||||
$otext = ($oasis['name']);
|
||||
if($village->unitarray['u'.$session->tribe.'0'] >= 3 AND $enough_cp) {
|
||||
$test = "<a href=\"a2b.php?id=".$_GET['d']."&s=1\">» Found new village.</a>";
|
||||
} elseif($village->unitarray['u'.$session->tribe.'0'] >= 3 AND !$enough_cp) {
|
||||
@@ -487,7 +487,7 @@ if($type==18 or $type==19 or $type==20 or $type==21){
|
||||
"» Raid $otext oasis. (build a rally point)" :
|
||||
|
||||
|
||||
"<a href=\"a2b.php?z=".$_GET['d']."&o\">» Raid $otext oasis.</a>" :
|
||||
"<a href=\"a2b.php?z=".$_GET['d']."&o\">» Raid $otext.</a>" :
|
||||
"$test"
|
||||
?>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user