removed the Gardener flag as it is handled by achievement_gain_once

This commit is contained in:
Zeno Rogue 2021-11-07 08:43:41 +01:00
parent 0d08dceddf
commit 215f203d40
1 changed files with 1 additions and 5 deletions

View File

@ -2325,8 +2325,6 @@ EX namespace heat {
EX }
bool gardener = false;
EX void livecaves() {
vector<cell*>& allcells = currentmap->allcells();
int dcs = isize(allcells);
@ -2455,10 +2453,8 @@ EX void livecaves() {
if(hv > 0) c->wall = waCavefloor;
if(hv < 0) {
c->wall = waCavewall;
if(c->land != laCaves && c->land != laDeadCaves && c->land != laEmerald && !gardener) {
gardener = true;
if(c->land != laCaves && c->land != laDeadCaves && c->land != laEmerald)
achievement_gain_once("GARDENER");
}
}
}
else if(c->land == laLivefjord) {