Update settings.cpp (#4830)

This commit is contained in:
Pepe20129 2025-01-11 10:53:45 +01:00 committed by GitHub
parent 7ea6422b6f
commit 8e8befc6d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -707,6 +707,7 @@ void Settings::CreateOptions() {
&mTrickOptions[RT_GANON_MQ_SHADOW_TRIAL],
&mTrickOptions[RT_GANON_MQ_LIGHT_TRIAL],
});
mTricksByArea.clear();
for (int i = 0; i < RT_MAX; i++) {
auto& trick = mTrickOptions[i];
if (!trick.GetName().empty()) {