Fixed incorrect asset loading

This commit is contained in:
Anuken 2019-08-27 22:53:24 -04:00
parent 9f5a0ca4e9
commit 3d69e9c763
2 changed files with 1 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

View File

@ -345,8 +345,7 @@ public class Maps{
});
}catch(IOException e){
Log.err("Failed to generate preview!", e);
//TODO create error texture instead?
Core.app.post(() -> map.texture = new Texture("zones/nomap.png"));
Core.app.post(() -> map.texture = new Texture("sprites/error.png"));
}
}