From ec703a39738fefb60817f5659f76f8e683f8d301 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 5 Oct 2026 17:39:06 -0400 Subject: fix: admin undo/redo failure, video poker cabinet ids, room ref behavior --- internal/validate/checks.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'internal/validate/checks.go') diff --git a/internal/validate/checks.go b/internal/validate/checks.go index d3fa111..2030225 100644 --- a/internal/validate/checks.go +++ b/internal/validate/checks.go @@ -1624,6 +1624,17 @@ func validateGather(prefix string, cfg *behavior.GatherConfig, itemIDs map[strin prefix, label, len(cfg.Tools)), }) } + if d.Weight <= 0 { + label := d.ItemID + if label == "" { + label = "" + } + issues = append(issues, Issue{ + Level: "WARN", + Type: "semantic", + Message: fmt.Sprintf("%s: drop %q has weight %d; it can never be selected", prefix, label, d.Weight), + }) + } } return issues -- cgit v1.2.3