Ensure that we have seed when making a map

This commit is contained in:
Linus Probert 2019-02-24 19:57:33 +01:00
parent 49b7ebb923
commit 926054b116
1 changed files with 1 additions and 0 deletions

View File

@ -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];
} }