Small fix for trade window headers

This commit is contained in:
Xeriab Nabil 2021-08-12 21:56:38 +03:00
parent b6300bb6f7
commit 05df63dd79

View File

@ -201,13 +201,13 @@ impl<'a> Trade<'a> {
})
.unwrap_or_else(|| format!("Player {}", who));
let offer_header = if who == 1 {
let offer_header = if ours {
self.localized_strings
.get("hud.trade.their_offer")
.get("hud.trade.your_offer")
.to_owned()
} else {
self.localized_strings
.get("hud.trade.your_offer")
.get("hud.trade.their_offer")
.to_owned()
};