aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_prompt.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_prompt.go')
-rw-r--r--internal/game/cmd_prompt.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_prompt.go b/internal/game/cmd_prompt.go
index 6cc45f9..8850ea1 100644
--- a/internal/game/cmd_prompt.go
+++ b/internal/game/cmd_prompt.go
@@ -4,11 +4,10 @@ import (
"fmt"
"thehouseoficarus/internal/net"
- "thehouseoficarus/internal/player"
)
func (g *Game) doPrompt(sess *net.Session, input string) {
- p := sess.Player.(*player.Player)
+ p := sess.Player
if input == "" {
prompt := p.Prompt