diff options
| author | historia <[not public]> | 2026-06-25 21:23:34 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-25 21:23:34 -0400 |
| commit | e2d5b081f27141bb3dd89dbe595860b8a1345d55 (patch) | |
| tree | 3090f8150580fe85a872caa04165ff70613bbaa8 /internal/game/render_color.go | |
| parent | 84d74ca4351a97148ad8339676f9df7946bc21fb (diff) | |
| download | thehouseoficarus-e2d5b081f27141bb3dd89dbe595860b8a1345d55.tar.gz | |
feat: on_enter features ported over to triggers, cosmetic fixes with trigger messages
Diffstat (limited to 'internal/game/render_color.go')
| -rw-r--r-- | internal/game/render_color.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/render_color.go b/internal/game/render_color.go index c6f154c..a5ab8fa 100644 --- a/internal/game/render_color.go +++ b/internal/game/render_color.go @@ -16,7 +16,7 @@ func (g *Game) colorMode(sess *net.Session) string { } func (g *Game) resolveColor(sess *net.Session, category string) color.ColorSpec { - if sess.Account != nil && sess.Account.Colors != nil { + if sess != nil && sess.Account != nil && sess.Account.Colors != nil { if val, ok := sess.Account.Colors[category]; ok { if val == "off" { return color.NoColor() |
