Block Fields for Modding (#2538)
* quickRotate * quickRotate and rotateArrow * rotateArrow * rotateArrow * Update contributors * quickRotate * removed rotateArrow * remove rotateArrow * removal
This commit is contained in:
@@ -140,7 +140,7 @@ public class OverlayRenderer{
|
||||
build.drawDisabled();
|
||||
}
|
||||
|
||||
if(Core.input.keyDown(Binding.rotateplaced) && build.block.rotate && build.interactable(player.team())){
|
||||
if(Core.input.keyDown(Binding.rotateplaced) && build.block.rotate && build.block.quickRotate && build.interactable(player.team())){
|
||||
control.input.drawArrow(build.block, build.tileX(), build.tileY(), build.rotation, true);
|
||||
Draw.color(Pal.accent, 0.3f + Mathf.absin(4f, 0.2f));
|
||||
Fill.square(build.x, build.y, build.block.size * tilesize/2f);
|
||||
|
||||
Reference in New Issue
Block a user