diff options
Diffstat (limited to 'internal/game/cmd_hide.go')
| -rw-r--r-- | internal/game/cmd_hide.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_hide.go b/internal/game/cmd_hide.go index d22f3fa..b5d38fe 100644 --- a/internal/game/cmd_hide.go +++ b/internal/game/cmd_hide.go @@ -4,7 +4,6 @@ import ( "fmt" "strings" - "thehouseoficarus/internal/combat" "thehouseoficarus/internal/net" "thehouseoficarus/internal/world" ) @@ -91,7 +90,7 @@ func (g *Game) executeHide(sess *net.Session, args []string, rawInput string) { st.SafespotTicksAtLevel = 0 } - inCombat := combat.GetCombat(p.Name) != nil + inCombat := g.Combat.Get(p.Name) != nil hideCountdown := 1 if inCombat { hideCountdown = 4 |
