mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-02-21 07:31:39 -08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
18b0cd4e99
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ public class Build{
|
|||
if(tile == null) return;
|
||||
|
||||
//auto-rotate the block to the correct orientation and bail out
|
||||
if(tile.team() == team && tile.block == result && tile.build != null){
|
||||
if(tile.team() == team && tile.block == result && tile.build != null && tile.block.quickRotate){
|
||||
if(unit != null && unit.isPlayer()) tile.build.lastAccessed = unit.getPlayer().name;
|
||||
tile.build.rotation = Mathf.mod(rotation, 4);
|
||||
tile.build.updateProximity();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue