mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Set default case for block type opacity
This commit is contained in:
parent
a34aff3a8b
commit
cf193a97c4
@ -28,8 +28,7 @@ impl Block {
|
||||
match self.kind {
|
||||
0 => None,
|
||||
1 => Some(0.85),
|
||||
2 => Some(1.0),
|
||||
_ => unimplemented!(),
|
||||
_ => Some(1.0),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user