forked from github/server
Fehelr bei doppeltem auftreten von at_reduceproduction durch erneuten vulkanausbruch (doppeltes a_add())
This commit is contained in:
parent
ac63c6284f
commit
7acf810290
|
@ -786,7 +786,7 @@ volcano_outbreak(region *r)
|
|||
#endif
|
||||
|
||||
a = a_find(rn->attribs, &at_reduceproduction);
|
||||
if (!a) a = a_add(&r->attribs, a_new(&at_reduceproduction));
|
||||
if (!a) a = a_add(&rn->attribs, a_new(&at_reduceproduction));
|
||||
|
||||
/* Produktion vierteln ... */
|
||||
a->data.sa[0] = 25;
|
||||
|
|
Loading…
Reference in New Issue