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/color.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/game/color.go') diff --git a/internal/game/color.go b/internal/game/color.go index c3b3d83..962728a 100644 --- a/internal/game/color.go +++ b/internal/game/color.go @@ -5,11 +5,10 @@ import ( "thehouseoficarus/internal/config" "thehouseoficarus/internal/net" "thehouseoficarus/internal/object" - "thehouseoficarus/internal/player" ) func (g *Game) colorMode(sess *net.Session) string { - if p, ok := sess.Player.(*player.Player); ok && p != nil { + if p := sess.Player; p != nil { return p.OptionString("color") } return "none" -- cgit v1.2.3