From 9666676766bf21364f4fc4d0d1d336e72f2a91b4 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 6 Oct 2026 12:57:23 -0400 Subject: refactor: split casino.go, dedup helpers, remove audit docs --- internal/game/sys_technology.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/sys_technology.go') diff --git a/internal/game/sys_technology.go b/internal/game/sys_technology.go index 6f03276..edf0051 100644 --- a/internal/game/sys_technology.go +++ b/internal/game/sys_technology.go @@ -46,7 +46,7 @@ func (g *Game) LoadTechs() error { if err := behavior.WalkYAMLDir(dir, func(path, id string, data []byte) error { var t TechDef if err := yaml.Unmarshal(data, &t); err != nil { - return nil + return fmt.Errorf("%s: %w", path, err) } t.ID = id AllTechs = append(AllTechs, &t) -- cgit v1.2.3