Misc tech tree & block stuff

This commit is contained in:
Anuken
2022-05-16 17:53:09 -04:00
parent 13e57ba89e
commit 07ff2de2a2
5 changed files with 25 additions and 15 deletions

View File

@@ -144,7 +144,7 @@ public class PayloadDeconstructor extends PayloadBlock{
time += edelta();
for(int i = 0; i < reqs.length; i++){
accum[i] += reqs[i].amount * state.rules.deconstructRefundMultiplier * realShift;
accum[i] += reqs[i].amount * (payload instanceof BuildPayload ? state.rules.buildCostMultiplier : 1f) * realShift;
}
}