mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-02 00:27:12 +00:00
more big update
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
$loopsame = ($building->isCurrent($id) || $building->isLoop($id))?1:0;
|
||||
$doublebuild = ($building->isCurrent($id) && $building->isLoop($id))?1:0;
|
||||
include("next.tpl");
|
||||
?>
|
||||
<div id="build" class="gid2"><a href="#" onClick="return Popup(2,4);" class="build_logo">
|
||||
<img class="building g2" src="img/x.gif" alt="<?php echo B2; ?>" title="<?php echo B2; ?>" />
|
||||
@@ -15,7 +14,7 @@
|
||||
</tr>
|
||||
<?php
|
||||
if(!$building->isMax($village->resarray['f'.$id.'t'],$id)) {
|
||||
$next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild;
|
||||
$next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild+$master;
|
||||
if($village->capital == 1) {
|
||||
if($next<=20){
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user