From f840e5b2f03b0f4768d148ddb889eff7e29a223a Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 21 Dec 2018 02:50:16 -0500 Subject: [PATCH] v0.7.1a: fixed a serious loading bug, and re-manifest commit --- core/src/main/AndroidManifest.xml | 2 +- .../shatteredpixel/shatteredpixeldungeon/actors/Actor.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/main/AndroidManifest.xml b/core/src/main/AndroidManifest.xml index e27b482be..80f05d1d2 100644 --- a/core/src/main/AndroidManifest.xml +++ b/core/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java index a52411956..11db1af5c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java @@ -143,7 +143,9 @@ public abstract class Actor implements Bundlable { } public static synchronized void fixTime() { - + + if (all.isEmpty()) return; + float min = Float.MAX_VALUE; for (Actor a : all) { if (a.time < min) {