mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-21 02:30:58 +00:00
fix: not able to build new buildings
This commit is contained in:
@@ -83,7 +83,10 @@ class Building {
|
|||||||
($page == 'dorf2.php' && $id > 4)
|
($page == 'dorf2.php' && $id > 4)
|
||||||
) &&
|
) &&
|
||||||
// check that we're not trying to change a standing building type
|
// check that we're not trying to change a standing building type
|
||||||
($levels['f'.$tid.'t'] == $id)
|
(
|
||||||
|
$levels['f'.$tid.'t'] == $id ||
|
||||||
|
$levels['f'.$tid.'t'] == 0
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
if ( $this->checkResource( $id, $tid ) != 4 ) {
|
if ( $this->checkResource( $id, $tid ) != 4 ) {
|
||||||
if ( $tid >= 19 ) {
|
if ( $tid >= 19 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user