Fixed incorrect asset loading
This commit is contained in:
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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user