diff --git a/server/src/skill.rs b/server/src/skill.rs index 852b5d6d..6d917f89 100644 --- a/server/src/skill.rs +++ b/server/src/skill.rs @@ -1184,8 +1184,8 @@ fn hex(source: &mut Cryp, target: &mut Cryp, mut results: Resolutions, skill: Sk } fn hostility(source: &mut Cryp, target: &mut Cryp, mut results: Resolutions, skill: Skill) -> Resolutions { - skill.effect().into_iter() - .for_each(|e| (results.push(Resolution::new(source, target).event(target.add_effect(skill, e))))); + let hostility = skill.effect().first().unwrap().clone(); + results.push(Resolution::new(source, target).event(target.add_effect(skill, hostility))); return results;; }