From 0ea4eec5dd2122c6704216971eb1249276297867 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 19 Jun 2026 18:20:26 -0400 Subject: shop fixes, 'toggle' completely removed, movement speed increased --- internal/game/cmd_description.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/game/cmd_description.go') diff --git a/internal/game/cmd_description.go b/internal/game/cmd_description.go index 20ada37..ced5dcc 100644 --- a/internal/game/cmd_description.go +++ b/internal/game/cmd_description.go @@ -4,11 +4,10 @@ import ( "fmt" "thehouseoficarus/internal/net" - "thehouseoficarus/internal/player" ) func (g *Game) doDescription(sess *net.Session) { - p := sess.Player.(*player.Player) + p := sess.Player sess.WriteLine("") if p.Description != "" { sess.WriteLine(fmt.Sprintf("Current description: %s", p.Description)) @@ -22,7 +21,7 @@ func (g *Game) doDescription(sess *net.Session) { func (g *Game) handleDescriptionChange(sess *net.Session, input string) { if input != "" { - p := sess.Player.(*player.Player) + p := sess.Player p.Description = input g.AccountStore.SaveCharacter(p) sess.WriteLine(fmt.Sprintf("Description set to: %s", input)) -- cgit v1.2.3