diff --git a/conf/e2/config.json b/conf/e2/config.json index fdb616816..42f11a8a4 100644 --- a/conf/e2/config.json +++ b/conf/e2/config.json @@ -34,8 +34,7 @@ "rules.guard.castle_stop_prob": 0.05, "rules.guard.region_type_stop_prob": 0.05, "rules.economy.repopulate_maximum": 500, - "rules.lighthouse.unit_capacity": true, - "resource.visibility.rule": 0 + "rules.lighthouse.unit_capacity": true }, "disabled": [ "jsreport" diff --git a/src/kernel/resources.c b/src/kernel/resources.c index 4297c326c..29a0999e6 100644 --- a/src/kernel/resources.c +++ b/src/kernel/resources.c @@ -182,7 +182,7 @@ struct rawmaterial_type *rmt_get(const struct resource_type *rtype) struct rawmaterial_type *rmt_create(struct resource_type *rtype) { if (!rtype->raw) { - int rule = config_get_int("resource.visibility.rule", 0); + int rule = config_get_int("resource.visibility.rule", 1); rawmaterial_type *rmtype = rtype->raw = malloc(sizeof(rawmaterial_type)); if (!rmtype) abort(); rmtype->rtype = rtype;