private void PollSwitchWeapon() { if (playerInputData.inputTokens[11]) { playerInputData.EatInputToken(11); if (canSwitchWeapon) { playerCharacterData.SwapWeapons(); weapons.UpdateWeaponSprite(); canSwitchWeapon = false; switchWeaponTimer = 0d; } } }