id: prefix not necessary
This commit is contained in:
parent
010390b95f
commit
bcfb216b34
@ -38,6 +38,9 @@ impl Sound {
|
||||
Err(_) => None
|
||||
}
|
||||
}
|
||||
else if let Ok(id) = s.parse::<u32>() {
|
||||
Some(id)
|
||||
}
|
||||
else {
|
||||
None
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user