1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Do not inform of mod update if remote version is older than local

This commit is contained in:
Ivan Savenko
2024-11-26 21:05:18 +00:00
parent 8a0d327ac2
commit a80f65439b
3 changed files with 16 additions and 1 deletions

View File

@@ -217,7 +217,7 @@ bool ModState::isInstalled() const
bool ModState::isUpdateAvailable() const
{
return getInstalledVersion() != getRepositoryVersion() && !getRepositoryVersion().isEmpty() && !getInstalledVersion().isEmpty();
return impl.isUpdateAvailable();
}
bool ModState::isCompatible() const