Merge pull request #3662 from Quezler/patch-71

Fixes #3661
This commit is contained in:
Anuken
2020-11-30 09:44:01 -05:00
committed by GitHub

View File

@@ -58,7 +58,7 @@ public class Build{
if(tile == null) return; if(tile == null) return;
//auto-rotate the block to the correct orientation and bail out //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; if(unit != null && unit.isPlayer()) tile.build.lastAccessed = unit.getPlayer().name;
tile.build.rotation = Mathf.mod(rotation, 4); tile.build.rotation = Mathf.mod(rotation, 4);
tile.build.updateProximity(); tile.build.updateProximity();