Skip to content

Commit

Permalink
fix(vic3)-scope-law-scope
Browse files Browse the repository at this point in the history
  • Loading branch information
HiddeLekanne authored and amtep committed Dec 10, 2024
1 parent 38e7c0f commit 335a4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vic3/data/laws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl DbKind for LawType {
});
vd.field_validated_key("ai_enact_weight_modifier", |key, bv, data| {
let mut sc = ScopeContext::new(Scopes::Country, key);
sc.define_name("law", Scopes::Law, key);
sc.define_name("law", Scopes::LawType, key);
validate_script_value(bv, data, &mut sc);
});

Expand Down

0 comments on commit 335a4a4

Please sign in to comment.