Second map updates

This commit is contained in:
Anuken
2022-02-28 14:33:19 -05:00
parent 1a7ef3108d
commit ab4190a6b5
8 changed files with 12 additions and 11 deletions

View File

@@ -201,7 +201,7 @@ public class Build{
}
}
if(state.rules.placeRangeCheck && getEnemyOverlap(type, team, x, y) != null){
if(state.rules.placeRangeCheck && !state.isEditor() && getEnemyOverlap(type, team, x, y) != null){
return false;
}

View File

@@ -172,7 +172,7 @@ public class PayloadBlock extends Block{
updatePayload();
if(rotate){
payRotation = Angles.moveToward(payRotation, rotate ? rotdeg() : 90f, payloadRotateSpeed * delta());
payRotation = Angles.moveToward(payRotation, block.rotate ? rotdeg() : 90f, payloadRotateSpeed * delta());
}
payVector.approach(Vec2.ZERO, payloadSpeed * delta());