aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_agility.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-25 15:40:48 -0400
committerhistoria <[not public]>2026-06-25 15:40:48 -0400
commitabd612c15799f604e671e83dc7c410ed2b44185f (patch)
tree0597ca92350de73aac2a7cf26b2f2d6595dac0cc /internal/game/cmd_agility.go
parent2725e2927a1595c7b100d942d1f14146252adeb7 (diff)
downloadthehouseoficarus-abd612c15799f604e671e83dc7c410ed2b44185f.tar.gz
slop refactor
Diffstat (limited to 'internal/game/cmd_agility.go')
-rw-r--r--internal/game/cmd_agility.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_agility.go b/internal/game/cmd_agility.go
index e347322..4a6f733 100644
--- a/internal/game/cmd_agility.go
+++ b/internal/game/cmd_agility.go
@@ -3,7 +3,6 @@ package game
import (
"fmt"
- "thehouseoficarus/internal/combat"
"thehouseoficarus/internal/net"
"thehouseoficarus/internal/player"
)
@@ -11,7 +10,7 @@ import (
func (g *Game) doObstacle(sess *net.Session, verb string) {
p := sess.Player
- if combat.GetCombat(p.Name) != nil {
+ if g.Combat.Get(p.Name) != nil {
sess.WriteLine("You can't do that during combat!")
return
}