diff options
Diffstat (limited to 'src/emap/craftconf.c')
-rw-r--r-- | src/emap/craftconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/craftconf.c b/src/emap/craftconf.c index 7705570..62f3230 100644 --- a/src/emap/craftconf.c +++ b/src/emap/craftconf.c @@ -272,6 +272,7 @@ static bool craft_read_db_sub(config_setting_t *craftt, int id, const char *sour } struct craft_db_entry *entry = craft_create_db_entry(class_); + entry->id = class_; idb_put(craftconf_db, class_, entry); safestrncpy(entry->name, str, sizeof(entry->name)); |