Skip to content

Commit

Permalink
Tweaked market buy/sell messages in RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
Somfic committed Apr 14, 2024
1 parent 0f31fc6 commit 1964aa5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ private void OnMarketBuy(MarketBuyEvent @event, EventContext context)
_client.SetPresence(new RichPresence
{
Details = "Buying at space station",
State = $"{_currentBody} in {_currentSystem}",
State = $"{@event.TotalCost:n0} CR of {@event.Type.Local}",
Assets = new Assets
{
LargeImageKey = "trading",
Expand All @@ -396,7 +396,7 @@ private void OnMarketSell(MarketSellEvent @event, EventContext context)
_client.SetPresence(new RichPresence
{
Details = "Selling at space station",
State = $"{_currentBody} in {_currentSystem}",
State = $"{@event.TotalSale:n0} CR of {@event.Type.Local}",
Assets = new Assets
{
LargeImageKey = "trading",
Expand Down

0 comments on commit 1964aa5

Please sign in to comment.