summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emap/craftconf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/craftconf.c b/src/emap/craftconf.c
index 6b82a63..22c9d0f 100644
--- a/src/emap/craftconf.c
+++ b/src/emap/craftconf.c
@@ -327,6 +327,8 @@ static bool craft_read_db_sub(config_setting_t *craftt, int id, const char *sour
safestrncpy(entry->name, str, sizeof(entry->name));
+ script->set_constant2(entry->name, entry->id, false, false);
+
//ShowInfo("Craft: id=%d, name=%s\n", class_, entry->name);
readField("Priority", priority, 0);