aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_jack.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_jack.go')
-rw-r--r--internal/game/cmd_jack.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_jack.go b/internal/game/cmd_jack.go
index ea31b7d..a0f102e 100644
--- a/internal/game/cmd_jack.go
+++ b/internal/game/cmd_jack.go
@@ -4,7 +4,6 @@ import (
"fmt"
"strings"
- "thehouseoficarus/internal/combat"
"thehouseoficarus/internal/game/hacking"
"thehouseoficarus/internal/net"
"thehouseoficarus/internal/player"
@@ -19,7 +18,7 @@ func (g *Game) executeJack(sess *net.Session, args []string, rawInput string) {
func (g *Game) doJack(sess *net.Session, target 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
}