mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Small fix for trade window headers
This commit is contained in:
parent
b6300bb6f7
commit
05df63dd79
@ -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()
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user