aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_trigger_transport.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_trigger_transport.go')
-rw-r--r--internal/game/cmd_trigger_transport.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_trigger_transport.go b/internal/game/cmd_trigger_transport.go
index d3f7368..4272a07 100644
--- a/internal/game/cmd_trigger_transport.go
+++ b/internal/game/cmd_trigger_transport.go
@@ -3,13 +3,12 @@ package game
import (
"fmt"
- "thehouseoficarus/internal/combat"
"thehouseoficarus/internal/net"
"thehouseoficarus/internal/player"
)
func (g *Game) triggerTransport(sess *net.Session, p *player.Player, mod *ModDef) {
- if combat.GetCombat(p.Name) != nil {
+ if g.Combat.Get(p.Name) != nil {
sess.WriteLine("You can't teleport during combat!")
return
}