void SellShipButton_OnMouseClick(BaseScreenComponent sender, Vector2 position) { if (DaggerfallBankManager.OwnsShip) { GeneratePopup(TransactionResult.SELL_SHIP_OFFER, DaggerfallBankManager.GetShipSellPrice(DaggerfallBankManager.OwnedShip)); } }
void SellShipButton_OnMouseClick(BaseScreenComponent sender, Vector2 position) { DaggerfallUI.Instance.PlayOneShot(SoundClips.ButtonClick); if (DaggerfallBankManager.OwnsShip) { GeneratePopup(TransactionResult.SELL_SHIP_OFFER, DaggerfallBankManager.GetShipSellPrice(DaggerfallBankManager.OwnedShip)); } }