diff options
| author | historia <[not public]> | 2026-06-26 02:52:31 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-26 02:52:31 -0400 |
| commit | 3102525d97aa6f1ad152c74b2ccfbd4b3a9b83f5 (patch) | |
| tree | 65610fa4fb8abe1dc7a46d00658e85e0525d397c /internal/game/cmd_move.go | |
| parent | e2d5b081f27141bb3dd89dbe595860b8a1345d55 (diff) | |
| download | thehouseoficarus-3102525d97aa6f1ad152c74b2ccfbd4b3a9b83f5.tar.gz | |
feat: simplified conversation trees and output won't overwrite prompts now
Diffstat (limited to 'internal/game/cmd_move.go')
| -rw-r--r-- | internal/game/cmd_move.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_move.go b/internal/game/cmd_move.go index 2939c34..a1b492e 100644 --- a/internal/game/cmd_move.go +++ b/internal/game/cmd_move.go @@ -164,13 +164,13 @@ func (g *Game) completeMove(sess *net.Session, p *player.Player) { if g.Hub != nil { for _, other := range g.Hub.PlayersInRoom(oldRoom) { if other != sess { - other.WriteLine(fmt.Sprintf("\n%s leaves to the %s.", p.Name, exitDir)) + other.WriteLine(fmt.Sprintf("%s leaves to the %s.", p.Name, exitDir)) } } g.Hub.EnterRoom(sess, targetID) for _, other := range g.Hub.PlayersInRoom(targetID) { if other != sess { - other.WriteLine(fmt.Sprintf("\n%s arrives.", p.Name)) + other.WriteLine(fmt.Sprintf("%s arrives.", p.Name)) } } } |
