mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 18:44:21 +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)
|
||||
) &&
|
||||
// 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 ( $tid >= 19 ) {
|
||||
|
||||
Reference in New Issue
Block a user