mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'crabman/precision-ui-fix' into 'master'
fix stat UI bug for modular components while trading See merge request veloren/veloren!4196
This commit is contained in:
commit
256afc1960
@ -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