aboutsummaryrefslogtreecommitdiff
path: root/internal/game/aggro.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/aggro.go')
-rw-r--r--internal/game/aggro.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/aggro.go b/internal/game/aggro.go
index 8f4da42..2a9fff4 100644
--- a/internal/game/aggro.go
+++ b/internal/game/aggro.go
@@ -6,11 +6,10 @@ import (
"thehouseoficarus/internal/combat"
"thehouseoficarus/internal/engine"
"thehouseoficarus/internal/net"
- "thehouseoficarus/internal/player"
)
func (g *Game) checkAggro(sess *net.Session) {
- p := sess.Player.(*player.Player)
+ p := sess.Player
if combat.GetCombat(p.Name) != nil {
return