mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix stat UI bug while trading
This commit is contained in:
parent
69e827dfda
commit
c689708ec9
@ -118,7 +118,7 @@ pub fn stats_count(item: &dyn ItemDesc, msm: &MaterialStatManifest) -> usize {
|
||||
Effects::Any(_) | Effects::One(_) => 1,
|
||||
Effects::All(effects) => effects.len(),
|
||||
},
|
||||
ItemKind::ModularComponent { .. } => 7,
|
||||
ItemKind::ModularComponent { .. } => 6,
|
||||
_ => 0,
|
||||
};
|
||||
if item.has_durability() {
|
||||
|
Loading…
Reference in New Issue
Block a user