forked from github/server
accidentally inverted condition when fixing volcano attribute
This commit is contained in:
parent
c0af920d0d
commit
0206ffbec6
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ volcano_destruction(region * volcano, region * r, const char *damage)
|
|||
rsettrees(r, 0, 0);
|
||||
|
||||
a = a_find(r->attribs, &at_reduceproduction);
|
||||
if (a) {
|
||||
if (!a) {
|
||||
a = a_add(&r->attribs, make_reduceproduction(percent, time));
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue