mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-24 21:46:11 +00:00
update: now player without main building level 1 cannot build warehouse + edit general.tpl
This commit is contained in:
@@ -78,7 +78,7 @@ if($wall == 0) {
|
||||
include("avaliable/citywall.tpl");
|
||||
}
|
||||
}
|
||||
if(($warehouse == 0 || $warehouse == 20) && $id != 39 && $id != 40) {
|
||||
if(($warehouse == 0 || $warehouse == 20) && $mainbuilding >= 1 && $id != 39 && $id != 40) {
|
||||
include("avaliable/warehouse.tpl");
|
||||
}
|
||||
if($mainbuilding >= 10 && $village->capital == 0 && $largeA['owner'] == $session->uid || $normalA['vref'] == $village->wid ) {
|
||||
|
||||
Reference in New Issue
Block a user