From 1932084d22e99f236decdc88592d6424f4a61ac5 Mon Sep 17 00:00:00 2001 From: "jason@long.name" Date: Sun, 1 Sep 2013 21:34:25 +0000 Subject: [PATCH] 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 --- src/micropolisj/engine/Micropolis.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/micropolisj/engine/Micropolis.java b/src/micropolisj/engine/Micropolis.java index 802e146..992bad6 100644 --- a/src/micropolisj/engine/Micropolis.java +++ b/src/micropolisj/engine/Micropolis.java @@ -1996,8 +1996,6 @@ public class Micropolis powerScan(); newPower = true; - - assert powerPlants.isEmpty(); } public void load(InputStream inStream)