Ensure that we have seed when making a map
This commit is contained in:
parent
49b7ebb923
commit
926054b116
|
@ -69,6 +69,7 @@ get_random_seed(void)
|
||||||
unsigned int
|
unsigned int
|
||||||
get_random_map_seed(unsigned int level)
|
get_random_map_seed(unsigned int level)
|
||||||
{
|
{
|
||||||
|
init_seed();
|
||||||
return map_seeds[level-1];
|
return map_seeds[level-1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue