Update RegularLevel.java
This commit is contained in:
parent
0ebed3b0f5
commit
33c27cdb58
|
@ -682,8 +682,6 @@ public abstract class RegularLevel extends Level {
|
||||||
public void restoreFromBundle( Bundle bundle ) {
|
public void restoreFromBundle( Bundle bundle ) {
|
||||||
super.restoreFromBundle( bundle );
|
super.restoreFromBundle( bundle );
|
||||||
|
|
||||||
weakFloorCreated = false;
|
|
||||||
|
|
||||||
rooms = new HashSet<Room>( (Collection<? extends Room>) bundle.getCollection( "rooms" ) );
|
rooms = new HashSet<Room>( (Collection<? extends Room>) bundle.getCollection( "rooms" ) );
|
||||||
for (Room r : rooms) {
|
for (Room r : rooms) {
|
||||||
if (r.type == Type.WEAK_FLOOR) {
|
if (r.type == Type.WEAK_FLOOR) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user