Skip to content

Commit

Permalink
Fix altar clicking
Browse files Browse the repository at this point in the history
  • Loading branch information
Barragek0 committed Jan 4, 2024
1 parent de1a580 commit bda2a1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ClickIt.cs
Expand Up @@ -1417,6 +1417,12 @@ private IEnumerator ClickLabel(Element? altar = null)
workFinished = true;
yield break;
}
if (nextLabel.ItemOnGround.Path.Contains("CleansingFireAltar") || nextLabel.ItemOnGround.Path.Contains("TangleAltar"))
{
//This is handled in Render().
workFinished = true;
yield break;
}
Vector2? centerOfLabel = nextLabel?.Label?.GetClientRect().Center
+ GameController.Window.GetWindowRectangleTimeCache.TopLeft
+ new Vector2(Random.Next(0, 5), Random.Next(0, 5));
Expand Down

0 comments on commit bda2a1c

Please sign in to comment.