Skip to content

Commit

Permalink
selected tile shows old tiles after rotating
Browse files Browse the repository at this point in the history
  • Loading branch information
wurunduk committed Aug 1, 2018
1 parent 49ffd19 commit be5275c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/Tools/Tool_TilePlace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ public override void OnDeselected()

public override void OnRMBDown(Vector3 point)
{
ShowTiles(_gridPosition, _currentTile.Size, true);
_currentTile.Rotate();
_currentTile.ApplyTerrain();
ShowTiles(_gridPosition, _currentTile.Size, false);
}

public override void OnLMBDown(Vector3 point)
Expand Down

0 comments on commit be5275c

Please sign in to comment.