Use the revision for version comparison

This commit is contained in:
momo5502 2016-08-31 00:24:44 +02:00
parent fb5c47ee11
commit 73bacbaa96

View File

@ -79,7 +79,7 @@ namespace Components
int version = atoi(caches.data());
Dvar::Var("cl_updateversion").Get<Game::dvar_t*>()->current.integer = version;
Dvar::Var("cl_updateavailable").Get<Game::dvar_t*>()->current.boolean = (version > /*REVISION*/1);
Dvar::Var("cl_updateavailable").Get<Game::dvar_t*>()->current.boolean = (version > REVISION);
}
}
}