Merge branch 'trade-window-fix' into 'master'

Small fix for trade window headers

See merge request veloren/veloren!2766
This commit is contained in:
Marcel 2021-08-12 22:50:36 +00:00
commit cddb827a27

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()
};