From 0206ffbec6ee57dfdafae9e175c37957349d6dcc Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 5 Nov 2015 09:57:57 +0100 Subject: [PATCH] accidentally inverted condition when fixing volcano attribute --- src/randenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/randenc.c b/src/randenc.c index 1654f27ee..3a29bf886 100644 --- a/src/randenc.c +++ b/src/randenc.c @@ -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 {