v0.7.2: fixed a crash bug when IO or fileNotFound errors are encountered

This commit is contained in:
Evan Debenham 2019-02-28 15:12:18 -05:00
parent 56f5ac2557
commit 5df7f84eea

View File

@ -300,7 +300,7 @@ public class InterlevelScene extends PixelScene {
} );
thread = null;
error = null;
} else if ((int)waitingTime == 10){
} else if (thread != null && (int)waitingTime == 10){
waitingTime = 11f;
String s = "";
for (StackTraceElement t : thread.getStackTrace()){