Skip to content

Commit

Permalink
feature: reopen tp when coming back from town if in leader mode
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfvsilva committed Jan 21, 2025
1 parent 6d6f2b5 commit 4037b30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/action/town.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"github.com/hectorgimenez/d2go/pkg/data/skill"
"github.com/hectorgimenez/koolo/internal/action/step"
"github.com/hectorgimenez/koolo/internal/context"
"github.com/hectorgimenez/koolo/internal/utils"
)

func PreRun(firstRun bool) error {
Expand Down Expand Up @@ -95,6 +96,7 @@ func InRunReturnTownRoutine() error {
ReviveMerc()
HireMerc()
Repair()

return UsePortalInTown()
UsePortalInTown()
utils.Sleep(500)
return OpenTPIfLeader()
}

0 comments on commit 4037b30

Please sign in to comment.