fix added assembler module doesnt reset progress (#7108)

This commit is contained in:
Lucky Clover 2022-07-02 22:17:43 +08:00 committed by GitHub
parent aa310bd205
commit fb3b69a401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,7 +275,10 @@ public class UnitAssembler extends PayloadBlock{
break;
}
}
currentTier = max;
if(currentTier != max){
progress=0;
currentTier = max;
}
}
public UnitType unit(){