diff --git a/loader/include/Geode/loader/SettingV3.hpp b/loader/include/Geode/loader/SettingV3.hpp index 9d51732d..01b07833 100644 --- a/loader/include/Geode/loader/SettingV3.hpp +++ b/loader/include/Geode/loader/SettingV3.hpp @@ -562,7 +562,7 @@ namespace geode { using Ty = typename SettingTypeForValueType::SettingType; return new EventListener( [callback = std::move(callback)](std::shared_ptr setting) { - if (auto ty = typeinfo_pointer_cast(setting)) { + if (auto ty = geode::cast::typeinfo_pointer_cast(setting)) { callback(ty->getValue()); } },