Update WUMS version check to check for the latest version

This commit is contained in:
Maschell 2023-01-03 21:50:44 +01:00
parent f6330a99a7
commit 1d0b7c60d6

View File

@ -248,8 +248,8 @@ std::optional<std::shared_ptr<ModuleData>> ModuleDataFactory::load(const std::st
moduleData->setInitBeforeRelocationDoneHook(false);
}
} else if (key == "wums") {
if (value != "0.3") {
DEBUG_FUNCTION_LINE_ERR("Warning: Ignoring module - Unsupported WUMS version: %s.", value.c_str());
if (value != "0.3.1") {
DEBUG_FUNCTION_LINE_WARN("Ignoring module - Unsupported WUMS version: %s.", value.c_str());
return std::nullopt;
}
}