Skip to content

Commit

Permalink
hover bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmueller1 committed Jan 26, 2022
1 parent d9aac76 commit fd3dcb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/GUI Scripts/DragNeu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ public void OnEndDrag(PointerEventData eventData)
Destroy(_towerDrag);
Destroy(_circleDrag);

GameObject.Find($"Tower Slot {(int)Input.mousePosition.x / 120} {(int)Input.mousePosition.y / 120}").GetComponent<Drop>().SetIsGrass(false);
this.isDragged = false;
}
GameObject.Find($"Tower Slot {(int)Input.mousePosition.x / 120} {(int)Input.mousePosition.y / 120}").GetComponent<Drop>().SetIsGrass(false);
}
}

0 comments on commit fd3dcb0

Please sign in to comment.