forked from github/server
... only if not a new building
This commit is contained in:
parent
7175c87140
commit
0faffa9f2f
1 changed files with 10 additions and 8 deletions
|
@ -882,6 +882,7 @@ build_building(unit * u, const building_type * btype, int want, order * ord)
|
|||
}
|
||||
n = 1;
|
||||
}
|
||||
if (b) {
|
||||
if (rule_other<0) {
|
||||
rule_other = get_param_int(global.parameters, "rules.build.other_buildings", 1);
|
||||
}
|
||||
|
@ -892,6 +893,7 @@ build_building(unit * u, const building_type * btype, int want, order * ord)
|
|||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (b) built = b->size;
|
||||
if (n<=0 || n == INT_MAX) {
|
||||
|
|
Loading…
Reference in a new issue