diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Unit.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Unit.java b/core/src/ch/asynk/rustanddust/game/Unit.java index 43125a2..36bea6b 100644 --- a/core/src/ch/asynk/rustanddust/game/Unit.java +++ b/core/src/ch/asynk/rustanddust/game/Unit.java @@ -29,7 +29,7 @@ public class Unit extends HeadedPawn public static int unitId = 1; private static Collection<Unit> units = new IterableSet<Unit>(20); - public static void clear() { units.clear(); } + public static void clear() { unitId = 1; units.clear(); } public static Unit findById(int id) { for (Unit u : units) { |