This commit is contained in:
Leijurv 2018-12-24 18:41:16 -08:00
parent c324f11a96
commit bbb73008ac
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -129,8 +129,7 @@ public class MovementAscend extends Movement {
walk += context.jumpPenalty;
}
double totalCost = 0;
totalCost += walk;
double totalCost = walk;
if (hasToPlace) {
totalCost += context.placeBlockCost;
}