mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Clarify todo comment
This commit is contained in:
parent
b98680b9cb
commit
9ff816f006
@ -76,7 +76,9 @@ impl ArmorSlot {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: shouldn't need this
|
// TODO: There are plans to save the selected abilities for each tool even
|
||||||
|
// when they are not equipped, when that is implemented this helper function
|
||||||
|
// should no longer be needed
|
||||||
fn item_config(item: item::Item) -> comp::ItemConfig {
|
fn item_config(item: item::Item) -> comp::ItemConfig {
|
||||||
let mut abilities = if let item::ItemKind::Tool(tool) = &item.kind {
|
let mut abilities = if let item::ItemKind::Tool(tool) = &item.kind {
|
||||||
tool.get_abilities()
|
tool.get_abilities()
|
||||||
|
Loading…
Reference in New Issue
Block a user