From b30c6edd5991d0551efd1d8c26d6027a8806d03b Mon Sep 17 00:00:00 2001 From: wtclaude Date: Tue, 29 Sep 2026 09:42:17 -0500 Subject: [PATCH] feat(bridge): a dome without a type is the full dome (D212) ZoneDomes' Standard type is its one whole dome; the four colours show only where they meet the ground or a building. Walked on both rigs 2026-09-29. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY --- overlay/oxide/plugins/RunicGateway.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/overlay/oxide/plugins/RunicGateway.cs b/overlay/oxide/plugins/RunicGateway.cs index 19a5634..f748189 100644 --- a/overlay/oxide/plugins/RunicGateway.cs +++ b/overlay/oxide/plugins/RunicGateway.cs @@ -8411,7 +8411,9 @@ namespace Oxide.Plugins } Newtonsoft.Json.Linq.JToken t = d["type"], s = d["stack"]; - domeType = t != null && t.Type == Newtonsoft.Json.Linq.JTokenType.Integer ? (int)t : -1; + // No type is Standard, the one full dome; the colours show only where they meet + // the ground (D212). + domeType = t == null ? 0 : t.Type == Newtonsoft.Json.Linq.JTokenType.Integer ? (int)t : -1; domeStack = s == null ? 1 : s.Type == Newtonsoft.Json.Linq.JTokenType.Integer ? (int)s : -1; if (domeType < 0 || domeType > DomeTypeMax || domeStack < 1 || domeStack > DomeStackMax)