v0.3.2: fixed prison boss maps sometimes permanently changing

This commit is contained in:
Evan Debenham 2015-11-03 21:17:59 -05:00
parent 4ad00d9fe2
commit 6cc42aa0fa

View File

@ -114,7 +114,7 @@ public class PrisonBossLevel extends Level {
@Override
protected boolean build() {
map = MAP_START;
map = MAP_START.clone();
decorate();
buildFlagMaps();
@ -229,7 +229,7 @@ public class PrisonBossLevel extends Level {
}
private void changeMap(int[] map){
this.map = map;
this.map = map.clone();
GameScene.resetMap();
buildFlagMaps();
cleanWalls();