aboutsummaryrefslogtreecommitdiff
path: root/internal/game/game.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/game.go')
-rw-r--r--internal/game/game.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/internal/game/game.go b/internal/game/game.go
index 3357077..e5192c0 100644
--- a/internal/game/game.go
+++ b/internal/game/game.go
@@ -573,11 +573,15 @@ func playerDataFileName(relPath string) (name, kind string, ok bool) {
}
func (g *Game) writePrompt(sess *net.Session) {
- sess.WritePrompt(g.promptStr(sess))
+ if !g.rouletteSpinning(sess) {
+ sess.WritePrompt(g.promptStr(sess))
+ }
}
func (g *Game) reprompt(sess *net.Session) {
- sess.Reprompt(g.promptStr(sess))
+ if !g.rouletteSpinning(sess) {
+ sess.Reprompt(g.promptStr(sess))
+ }
}
func (g *Game) handleGameCommand(sess *net.Session, input string) {