mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Make name generation seed-dependent again
This commit is contained in:
parent
664cbaf7d1
commit
271d4babe4
@ -55,7 +55,7 @@ fn generate_name<R: Rng>(rng: &mut R) -> String {
|
||||
];
|
||||
|
||||
let mut name = String::new();
|
||||
if rand::random() {
|
||||
if rng.gen() {
|
||||
name += rng.choose(&firstsyl).unwrap();
|
||||
name += rng.choose(&mid).unwrap();
|
||||
name += rng.choose(&tails).unwrap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user