mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-13 12:16:53 +07:00
Copy code from UnitType.java (#1916)
Support custom bottom region without scripting.
This commit is contained in:
parent
c875bb3f55
commit
c7c638caa6
@ -37,7 +37,7 @@ public class Conduit extends LiquidBlock implements Autotiler{
|
||||
liquidRegion = Core.atlas.find("conduit-liquid");
|
||||
for(int i = 0; i < topRegions.length; i++){
|
||||
topRegions[i] = Core.atlas.find(name + "-top-" + i);
|
||||
botRegions[i] = Core.atlas.find("conduit-bottom-" + i);
|
||||
botRegions[i] = Core.atlas.find(name + "-bottom-" + i, Core.atlas.find("conduit-bottom-" + i));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user