diff options
| author | Caladius <Caladius@users.noreply.github.com> | 2025-10-18 19:54:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-18 19:54:45 -0400 |
| commit | 5ccd9a0798fb90dee2098bc24028cd4640b05f5b (patch) | |
| tree | a17d2446c0a3e5a20cbd815194fd36cb43297c9f /mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp | |
| parent | 44bda0fd55159248f6562adb54e0eb2cf8e0f0f5 (diff) | |
Remove Special Characters from seed Gen (#1291)
Diffstat (limited to 'mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp')
| -rw-r--r-- | mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp index 25041eee6..f9d691a73 100644 --- a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp +++ b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp @@ -43,7 +43,7 @@ void Rando::MiscBehavior::OnFileCreate(s16 fileNum) { // SpoilerFileIndex == 0 means we're generating a new one if (CVarGetInteger("gRando.SpoilerFileIndex", 0) == 0) { bool hadInputSeed = true; - std::string inputSeed = CVarGetString("gRando.InputSeed", ""); + std::string inputSeed = Ship_RemoveSpecialCharacters(CVarGetString("gRando.InputSeed", "")); if (inputSeed.empty()) { inputSeed = std::to_string(Ship_Random(0, 1000000)); hadInputSeed = false; |
