aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_style.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_style.go')
-rw-r--r--internal/game/cmd_style.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_style.go b/internal/game/cmd_style.go
index 901d02d..269fa3f 100644
--- a/internal/game/cmd_style.go
+++ b/internal/game/cmd_style.go
@@ -9,7 +9,7 @@ import (
)
func (g *Game) doStyle(sess *net.Session, input string) {
- p := sess.Player.(*player.Player)
+ p := sess.Player
styles := []string{"accurate", "aggressive", "defensive", "balanced"}
if input == "" {