Documentation for swap_loadout

This commit is contained in:
AdamWhitehurst 2020-04-01 07:30:18 -07:00
parent 9ad9a24e22
commit f515cc70be

View File

@ -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