Changed then_some to then

This commit is contained in:
Sam 2022-01-16 18:36:46 -05:00
parent 31a894601f
commit bc402dd1b2

View File

@ -114,7 +114,7 @@ impl CharacterBehavior for Data {
let stats = comp::Stats::new("Summon".to_string());
let health = self.static_data.summon_info.has_health.then_some({
let health = self.static_data.summon_info.has_health.then(|| {
let health_level = skill_set
.skill_level(skills::Skill::General(
skills::GeneralSkill::HealthIncrease,