Stop logging warnings for missing background images.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2015-09-02 17:38:28 -05:00
parent 396071dfbc
commit 5817217eb5

View File

@ -286,6 +286,8 @@ public class Beatmap implements Comparable<Beatmap> {
try {
Image bgImage = bgImageCache.get(this);
if (bgImage == null) {
if (!bg.isFile())
return false;
bgImage = new Image(bg.getAbsolutePath());
bgImageCache.put(bg, bgImage);
}