Use the revision for version comparison
This commit is contained in:
parent
fb5c47ee11
commit
73bacbaa96
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user