mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
add SwapLoadout
This commit is contained in:
@ -125,6 +125,7 @@ pub struct ControllerInputs {
|
||||
pub wall_leap: Input,
|
||||
pub respawn: Input,
|
||||
pub toggle_wield: Input,
|
||||
pub swap_loadout: Input,
|
||||
pub charge: Input,
|
||||
pub move_dir: Vec2<f32>,
|
||||
pub look_dir: Vec3<f32>,
|
||||
@ -151,6 +152,7 @@ impl ControllerInputs {
|
||||
self.wall_leap.tick(dt);
|
||||
self.respawn.tick(dt);
|
||||
self.toggle_wield.tick(dt);
|
||||
self.swap_loadout.tick(dt);
|
||||
self.charge.tick(dt);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user