mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
Fixed #5425
This commit is contained in:
parent
a0f80a8865
commit
2d8f7cb680
2 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
|
|||
Fonts.loadDefaultFont();
|
||||
|
||||
//load fallback atlas if max texture size is below 4096
|
||||
assets.load(new AssetDescriptor<>(maxTextureSize >= 4096 ? "sprites/sprites.aatls" : "sprites/fallback/sprites.aatls", TextureAtlas.class)).loaded = t -> atlas = (TextureAtlas)t;
|
||||
assets.load(new AssetDescriptor<>(maxTextureSize >= 4096 ? "sprites/sprites.aatls" : "sprites/fallback/sprites.aatls", TextureAtlas.class)).loaded = t -> atlas = (TextureAtlas)t;
|
||||
assets.loadRun("maps", Map.class, () -> maps.loadPreviews());
|
||||
|
||||
Musics.load();
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ public class Generators{
|
|||
|
||||
TextureRegion[] regions = block.getGeneratedIcons();
|
||||
|
||||
if(block.variants > 0){
|
||||
if(block.variants > 0 || block instanceof Floor){
|
||||
for(TextureRegion region : block.variantRegions()){
|
||||
GenRegion gen = (GenRegion)region;
|
||||
if(gen.path == null) continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue