Stop logging warnings for missing background images.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
396071dfbc
commit
5817217eb5
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user