aboutsummaryrefslogtreecommitdiff
path: root/internal/game/core_production.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/core_production.go')
-rw-r--r--internal/game/core_production.go6
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
}
}