Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Make test for unit spawning stricter
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-i-cecile committed Jun 27, 2023
1 parent a566753 commit c8047ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emergence_lib/src/world_gen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl GenerationConfig {
landmark_chances.insert(Id::from_name("simple_landmark".to_string()), 1e-1);

let mut unit_chances: HashMap<Id<Unit>, f32> = HashMap::new();
unit_chances.insert(Id::from_name("simple_unit".to_string()), 1e-1);
unit_chances.insert(Id::from_name("simple_unit".to_string()), 1.);

let mut structure_chances: HashMap<Id<Structure>, f32> = HashMap::new();
structure_chances.insert(Id::from_name("simple_structure".to_string()), 1e-1);
Expand Down

0 comments on commit c8047ae

Please sign in to comment.