aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_score.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_score.go')
-rw-r--r--internal/game/cmd_score.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_score.go b/internal/game/cmd_score.go
index 82c0803..0b0caf2 100644
--- a/internal/game/cmd_score.go
+++ b/internal/game/cmd_score.go
@@ -10,7 +10,7 @@ import (
)
func (g *Game) doScore(sess *net.Session) {
- p := sess.Player.(*player.Player)
+ p := sess.Player
mode := g.colorMode(sess)
sess.WriteLines(
"",