Skip to content

Commit

Permalink
If not already in town, return to town
Browse files Browse the repository at this point in the history
Fix issue if eldritch/shenk set as first run and pindle as second
  • Loading branch information
elobo91 authored Dec 15, 2024
1 parent 519c1ab commit 357478b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/run/pindleskin.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ func (p Pindleskin) Name() string {
}

func (p Pindleskin) Run() error {
// First return to town if we're not already there
if !p.ctx.Data.PlayerUnit.Area.IsTown() {
if err := action.ReturnTown(); err != nil {
return err
}
}

// Get to Harrogath
err := action.WayPoint(area.Harrogath)
if err != nil {
Expand Down

0 comments on commit 357478b

Please sign in to comment.