v0.2.3: fixed a bug involving planting plants during levelgen.
This commit is contained in:
parent
15c4bd66b7
commit
301aff86c7
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user