forked from github/server
Enable new resource visibilty by default.
This commit is contained in:
parent
a3c8ff78da
commit
65246bc35e
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue