mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Locked achievements can't be done.
This commit is contained in:
parent
d9fe3ed9a6
commit
a8e427fc7f
@ -69,6 +69,7 @@ void AchievementsMgr::Achieve( const char* id )
|
||||
{
|
||||
auto it = m_map.find( id );
|
||||
assert( it != m_map.end() );
|
||||
if( it->second.item->unlockTime == 0 ) return;
|
||||
if( it->second.item->doneTime > 0 ) return;
|
||||
|
||||
const auto t = uint64_t( time( nullptr ) );
|
||||
|
Loading…
Reference in New Issue
Block a user