Fix wrong message

This commit is contained in:
BenCat07 2019-06-09 19:10:59 +02:00
parent 26c2165aa0
commit 25f3dad75b

View File

@ -39,7 +39,7 @@ void Lock()
{ {
if (safety) if (safety)
{ {
ConColorMsg({ 255, 0, 0, 255 }, "Switch `cat set achievement.safety` to true before using any achievement commands!\n"); ConColorMsg({ 255, 0, 0, 255 }, "Switch `cat set achievement.safety` to false before using any achievement commands!\n");
return; return;
} }
g_ISteamUserStats->RequestCurrentStats(); g_ISteamUserStats->RequestCurrentStats();
@ -60,7 +60,7 @@ void Unlock()
int)Item->uniqueid());*/ int)Item->uniqueid());*/
if (safety) if (safety)
{ {
ConColorMsg({ 255, 0, 0, 255 }, "Switch `cat set achievement.safety` to true before using any achievement commands!\n"); ConColorMsg({ 255, 0, 0, 255 }, "Switch `cat set achievement.safety` to false before using any achievement commands!\n");
return; return;
} }
for (int i = 0; i < g_IAchievementMgr->GetAchievementCount(); i++) for (int i = 0; i < g_IAchievementMgr->GetAchievementCount(); i++)