cleanup: remove erroneous assertion
Usually after powerScan() the powerPlants list will be empty, but not if powerScan() aborts upon detection of a brown-out condition. It does not matter anyway; the powerPlants will be cleared and repopulated in normal course by simulate() in phase 0. git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@834 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
1b82d46aeb
commit
1932084d22
1 changed files with 0 additions and 2 deletions
|
@ -1996,8 +1996,6 @@ public class Micropolis
|
||||||
|
|
||||||
powerScan();
|
powerScan();
|
||||||
newPower = true;
|
newPower = true;
|
||||||
|
|
||||||
assert powerPlants.isEmpty();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void load(InputStream inStream)
|
public void load(InputStream inStream)
|
||||||
|
|
Reference in a new issue