v0.2.3: fixed a bug involving planting plants during levelgen.

This commit is contained in:
Evan Debenham 2014-12-07 19:52:27 -05:00
parent 15c4bd66b7
commit 301aff86c7

View File

@ -636,7 +636,7 @@ public abstract class Level implements Bundlable {
map[pos] == Terrain.EMPTY || map[pos] == Terrain.EMPTY ||
map[pos] == Terrain.EMBERS || map[pos] == Terrain.EMBERS ||
map[pos] == Terrain.EMPTY_DECO) { map[pos] == Terrain.EMPTY_DECO) {
set(pos, Terrain.GRASS); map[pos] = Terrain.GRASS;
GameScene.updateMap( pos ); GameScene.updateMap( pos );
} }