aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_color.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_color.go')
-rw-r--r--internal/game/cmd_color.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_color.go b/internal/game/cmd_color.go
index 1dd14fa..3fb7716 100644
--- a/internal/game/cmd_color.go
+++ b/internal/game/cmd_color.go
@@ -7,7 +7,6 @@ import (
"thehouseoficarus/internal/color"
"thehouseoficarus/internal/config"
"thehouseoficarus/internal/net"
- "thehouseoficarus/internal/player"
)
func (g *Game) doColor(sess *net.Session, input string) {
@@ -160,7 +159,7 @@ var colorCategoryOrder = []string{
}
func showColorTable(g *Game, sess *net.Session) {
- p := sess.Player.(*player.Player)
+ p := sess.Player
mode := g.colorMode(sess)
table := &Table{
Columns: []string{