diff options
| author | historia <[not public]> | 2026-06-28 04:05:58 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-28 04:05:58 -0400 |
| commit | 82c025b3f3e5cac82800ab9d7f11dcb4e3aa884b (patch) | |
| tree | 98d9798e9deac2b41d951e369c9f1fcec2881a37 /internal/game/look_entities.go | |
| parent | a1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295 (diff) | |
| download | thehouseoficarus-82c025b3f3e5cac82800ab9d7f11dcb4e3aa884b.tar.gz | |
fix: removed god mode speed limit, fixed hidden objects in god mode
Diffstat (limited to 'internal/game/look_entities.go')
| -rw-r--r-- | internal/game/look_entities.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/look_entities.go b/internal/game/look_entities.go index 2a9a360..3b0758b 100644 --- a/internal/game/look_entities.go +++ b/internal/game/look_entities.go @@ -105,12 +105,12 @@ func (g *Game) showRoomObjects(sess *net.Session, p *player.Player, room *world. if p.GodMode { var tags []string if isLocal { - tags = append(tags, color.Render(g.colorMode(sess), color.ColorSpec{Bold: true}, "[LOCAL]")) + tags = append(tags, color.Render(g.colorMode(sess), color.ColorSpec{Fg: -1, Bold: true}, "[LOCAL]")) } else { - tags = append(tags, color.Render(g.colorMode(sess), color.ColorSpec{Bold: true}, "[GLOBAL]")) + tags = append(tags, color.Render(g.colorMode(sess), color.ColorSpec{Fg: -1, Bold: true}, "[GLOBAL]")) } if def.Hidden { - tags = append(tags, color.Render(g.colorMode(sess), color.ColorSpec{Bold: true}, "(HIDDEN)")) + tags = append(tags, color.Render(g.colorMode(sess), color.ColorSpec{Fg: -1, Bold: true}, "(HIDDEN)")) } godPrefix = strings.Join(tags, " ") + " " } |
