From bab5dd653039d026eb3d4e46da7aafef7137fe7c Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 19 Sep 2026 03:52:04 -0400 Subject: fix: journal in-game room insert/remove, rewrite non-room room refs on rename/swap, seed admin grid from edited room, type action switches --- internal/game/core_production.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/game/core_production.go') diff --git a/internal/game/core_production.go b/internal/game/core_production.go index 7a4b6e9..3aaa6b5 100644 --- a/internal/game/core_production.go +++ b/internal/game/core_production.go @@ -109,11 +109,11 @@ var productionTypes = map[string]productionTypeInfo{ }, } -var productionActionTypes map[string]bool +var productionActionTypes map[behavior.ActionType]bool func init() { - productionActionTypes = make(map[string]bool) + productionActionTypes = make(map[behavior.ActionType]bool) for _, pt := range productionTypes { - productionActionTypes[string(pt.ActionType)] = true + productionActionTypes[pt.ActionType] = true } } -- cgit v1.2.3