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
5f09e75541
commit
3e56c65e86
@ -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…
Reference in New Issue
Block a user