Fixed drawing of assembler payloads
This commit is contained in:
@@ -320,8 +320,6 @@ public class JsonIO{
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//use short names for all filter types
|
//use short names for all filter types
|
||||||
for(var filter : Maps.allFilterTypes){
|
for(var filter : Maps.allFilterTypes){
|
||||||
var i = filter.get();
|
var i = filter.get();
|
||||||
|
|||||||
@@ -479,6 +479,8 @@ public class UnitAssembler extends PayloadBlock{
|
|||||||
|
|
||||||
Draw.rect(topRegion, x, y);
|
Draw.rect(topRegion, x, y);
|
||||||
|
|
||||||
|
if(isPayload()) return;
|
||||||
|
|
||||||
//draw drone construction
|
//draw drone construction
|
||||||
if(droneWarmup > 0.001f){
|
if(droneWarmup > 0.001f){
|
||||||
Draw.draw(Layer.blockOver + 0.2f, () -> {
|
Draw.draw(Layer.blockOver + 0.2f, () -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user