Fix sound level map becoming null

This commit is contained in:
johni0702
2015-08-13 09:52:04 +02:00
parent 88cea2d86d
commit ee6835c279

View File

@@ -183,7 +183,9 @@ public class ReplayProcess {
Display.setResizable(true);
//restore the sound settings
mc.gameSettings.mapSoundLevels = mapSoundLevelsBefore;
if (mapSoundLevelsBefore != null) {
mc.gameSettings.mapSoundLevels = mapSoundLevelsBefore;
}
}
//if justCheck is true, no Screenshot will be taken, it will only be checked