diff options
| author | historia <[not public]> | 2026-09-19 03:52:04 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-19 03:52:04 -0400 |
| commit | bab5dd653039d026eb3d4e46da7aafef7137fe7c (patch) | |
| tree | 9a1d8686dbcef8c145e3593511153768ae08962c /internal/game/core_production.go | |
| parent | 0e60567a7a0addb9421769ee7be7853bfa8788cb (diff) | |
| download | thehouseoficarus-bab5dd653039d026eb3d4e46da7aafef7137fe7c.tar.gz | |
fix: journal in-game room insert/remove, rewrite non-room room refs on rename/swap, seed admin grid from edited room, type action switches
Diffstat (limited to 'internal/game/core_production.go')
| -rw-r--r-- | internal/game/core_production.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 } } |
