mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Changed then_some
to then
This commit is contained in:
parent
31a894601f
commit
bc402dd1b2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user