mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Configure all death, spawn, and garage bay skins for #3
This commit is contained in:
@@ -64,6 +64,17 @@ pub enum ControlType {
|
||||
Count = 2,
|
||||
}
|
||||
|
||||
impl std::convert::From<crate::persist::user::ControlType> for ControlType {
|
||||
#[inline]
|
||||
fn from(value: crate::persist::user::ControlType) -> Self {
|
||||
match value {
|
||||
crate::persist::user::ControlType::Camera => Self::Camera,
|
||||
crate::persist::user::ControlType::Keyboard => Self::Keyboard,
|
||||
crate::persist::user::ControlType::Count => Self::Count,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ControlOptions {
|
||||
pub vertical_strafing: bool,
|
||||
pub sideways_driving: bool,
|
||||
|
||||
Reference in New Issue
Block a user