mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
Fixed incorrect asset loading
This commit is contained in:
parent
9f5a0ca4e9
commit
3d69e9c763
BIN
core/assets/sprites/error.png
Normal file
BIN
core/assets/sprites/error.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 276 B |
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user