aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_queued.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_queued.go')
-rw-r--r--internal/game/cmd_queued.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_queued.go b/internal/game/cmd_queued.go
index d9e92d5..fdb1643 100644
--- a/internal/game/cmd_queued.go
+++ b/internal/game/cmd_queued.go
@@ -5,11 +5,10 @@ import (
"sort"
"thehouseoficarus/internal/net"
- "thehouseoficarus/internal/player"
)
func (g *Game) doQueued(sess *net.Session) {
- p := sess.Player.(*player.Player)
+ p := sess.Player
freeCmds := g.freeQueue[p.Name]
activeCmd := g.activeQueue[p.Name]