mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Documentation for swap_loadout
This commit is contained in:
parent
9ad9a24e22
commit
f515cc70be
@ -307,6 +307,8 @@ impl Client {
|
||||
}
|
||||
}
|
||||
|
||||
/// Checks whether a player can swap their weapon+ability `Loadout` settings
|
||||
/// and sends the `ControlAction` event that signals to do the swap.
|
||||
pub fn swap_loadout(&mut self) {
|
||||
let can_swap = self
|
||||
.state
|
||||
|
Loading…
Reference in New Issue
Block a user