mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'zesterer/econ-tweaks' into 'master'
Limit trading currency to sane amounts See merge request veloren/veloren!2154
This commit is contained in:
commit
b700d9a641
@ -574,7 +574,9 @@ impl LoadoutBuilder {
|
||||
.flatten()
|
||||
.copied()
|
||||
.unwrap_or_default()
|
||||
.round() as u32;
|
||||
.round()
|
||||
.min(rand::thread_rng().gen_range(1000.0..3000.0))
|
||||
as u32;
|
||||
let armor = economy
|
||||
.map(|e| e.unconsumed_stock.get(&Good::Armor))
|
||||
.flatten()
|
||||
|
Loading…
Reference in New Issue
Block a user