fix added assembler module doesnt reset progress (#7108)

This commit is contained in:
Lucky Clover
2022-07-02 10:17:43 -04:00
committed by GitHub
parent aa310bd205
commit fb3b69a401
@@ -275,8 +275,11 @@ public class UnitAssembler extends PayloadBlock{
break; break;
} }
} }
if(currentTier != max){
progress=0;
currentTier = max; currentTier = max;
} }
}
public UnitType unit(){ public UnitType unit(){
return plan().unit; return plan().unit;