accidentally inverted condition when fixing volcano attribute

This commit is contained in:
Enno Rehling 2015-11-05 09:57:57 +01:00
parent c0af920d0d
commit 0206ffbec6

View file

@ -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 {