v0.6.2: fixed a terrain bug when plants were made on tall grass
This commit is contained in:
parent
ed346c385b
commit
65a2cd05a1
|
@ -710,8 +710,8 @@ public abstract class Level implements Bundlable {
|
|||
map[pos] == Terrain.EMPTY ||
|
||||
map[pos] == Terrain.EMBERS ||
|
||||
map[pos] == Terrain.EMPTY_DECO) {
|
||||
map[pos] = Terrain.GRASS;
|
||||
flamable[pos] = true;
|
||||
set(pos, Terrain.GRASS, this);
|
||||
GameScene.updateMap(pos);
|
||||
}
|
||||
|
||||
plant = seed.couch( pos, this );
|
||||
|
|
Loading…
Reference in New Issue
Block a user