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_quit.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/game/cmd_quit.go') diff --git a/internal/game/cmd_quit.go b/internal/game/cmd_quit.go index 2ec0221..d52c9ae 100644 --- a/internal/game/cmd_quit.go +++ b/internal/game/cmd_quit.go @@ -6,18 +6,17 @@ import ( "thehouseoficarus/internal/combat" "thehouseoficarus/internal/engine" "thehouseoficarus/internal/net" - "thehouseoficarus/internal/player" ) func (g *Game) doQuit(sess *net.Session) { - p := sess.Player.(*player.Player) + p := sess.Player if combat.GetCombat(p.Name) != nil { sess.WriteLine("You can't rest during combat!") return } - g.CancelAction(p) + g.cancelAction(p) p.ActionState = &ActionState{Type: ActionResting} g.cancelRest(p.Name) -- cgit v1.2.3