mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'trade-window-fix' into 'master'
Small fix for trade window headers See merge request veloren/veloren!2766
This commit is contained in:
commit
cddb827a27
@ -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