From b6fdde0aa6fcefd735e7c550aaa7fca879023f1c Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 15 Jun 2026 00:03:55 -0400 Subject: feat: unicode option, fixed up options and tables --- internal/game/game.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/game/game.go') diff --git a/internal/game/game.go b/internal/game/game.go index 37a1f3f..7447215 100644 --- a/internal/game/game.go +++ b/internal/game/game.go @@ -177,10 +177,9 @@ func (g *Game) handleGameCommand(sess *net.Session, input string) { Args: strings.Join(parts[1:], " "), Timestamp: time.Now(), }) - if !p.OptionBool("queue_actions_silently") { + if !p.OptionBool("queue_silently") { sess.WriteLine(fmt.Sprintf("\nYou prepare to %s.", cmd)) } - sess.Write("\r\n> ") return } @@ -191,10 +190,9 @@ func (g *Game) handleGameCommand(sess *net.Session, input string) { Timestamp: time.Now(), } g.cancelRest(p.Name) - if !p.OptionBool("queue_actions_silently") { + if !p.OptionBool("queue_silently") { sess.WriteLine(fmt.Sprintf("\nYou prepare to %s.", cmd)) } - sess.Write("\r\n> ") } func (g *Game) executeCommand(sess *net.Session, cmd string, args []string, rawInput string) { @@ -401,6 +399,7 @@ func (g *Game) ProcessQueuedCommands() { if len(parts) > 0 { g.executeCommand(qc.Session, parts[0], parts[1:], qc.Command+" "+qc.Args) } + qc.Session.Write("\r\n> ") } delete(g.freeQueue, p.Name) } @@ -418,6 +417,7 @@ func (g *Game) ProcessQueuedCommands() { if len(parts) > 0 { g.executeCommand(qc.Session, parts[0], parts[1:], qc.Command+" "+qc.Args) } + qc.Session.Write("\r\n> ") } g.activeQueue = make(map[string]*QueuedCommand) -- cgit v1.2.3