aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_option.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_option.go')
-rw-r--r--internal/game/cmd_option.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_option.go b/internal/game/cmd_option.go
index 3d4d420..fdf5371 100644
--- a/internal/game/cmd_option.go
+++ b/internal/game/cmd_option.go
@@ -11,7 +11,7 @@ import (
)
func (g *Game) doOption(sess *net.Session, input string) {
- p := sess.Player.(*player.Player)
+ p := sess.Player
mode := g.colorMode(sess)
if input == "" {