fix itempool size

This commit is contained in:
gymnast86
2026-05-15 03:39:44 -07:00
parent 0862408ee8
commit 56de23e2e6
3 changed files with 13 additions and 2 deletions
@@ -13,6 +13,10 @@
#include <iostream>
#include "SDL3/SDL_filesystem.h"
#include "dusk/app_info.hpp"
#include "dusk/logging.h"
namespace randomizer
{
std::optional<std::string> Randomizer::Generate()
@@ -45,6 +49,14 @@ namespace randomizer
this->_playthroughSpheres.clear();
this->_entranceSpheres.clear();
#if RANDOMIZER_ONLY
const auto result = SDL_GetPrefPath(dusk::OrgName, dusk::AppName);
if (!result)
DuskLog.fatal("Unable to get PrefPath: {}", SDL_GetError());
SetBaseOutputPath(result);
LoadConfig();
#endif
utility::platform::Log(std::string("Seed: ") + this->_config.GetSeed());
seedgen::config::SeedRNG(this->_config, true, false);