mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-30 22:49:06 +07:00
Editor variant regions for wall blocks
This commit is contained in:
@ -220,7 +220,7 @@ public class Generators{
|
||||
|
||||
TextureRegion[] regions = block.getGeneratedIcons();
|
||||
|
||||
if(block instanceof Floor){
|
||||
if(block.variants > 0){
|
||||
for(TextureRegion region : block.variantRegions()){
|
||||
GenRegion gen = (GenRegion)region;
|
||||
if(gen.path == null) continue;
|
||||
|
Reference in New Issue
Block a user