mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix formatting
This commit is contained in:
parent
8b2b931c17
commit
6670c2b8fa
@ -219,7 +219,7 @@ fn handle_spawn(server: &mut Server, entity: EcsEntity, args: String, action: &C
|
||||
let opt_amount: Option<u32> = if let Some(amount) = opt_amount {
|
||||
match amount.parse().ok() {
|
||||
Some(x) if x == 0 => None,
|
||||
x => x
|
||||
x => x,
|
||||
}
|
||||
} else {
|
||||
Some(1)
|
||||
|
Loading…
Reference in New Issue
Block a user