Merge pull request #666 from cheddar-cheeze/master

nit picky things
This commit is contained in:
LightCat 2018-12-21 09:56:26 +01:00 committed by GitHub
commit a20eeaeb11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ void Lock()
{ {
if (safety) if (safety)
{ {
ConColorMsg({ 255, 0, 0, 255 }, "Switch " CON_PREFIX "achievement_safety to 0 before using any achievement commands!\n"); ConColorMsg({ 255, 0, 0, 255 }, "Switch `cat set achievement.safety` to true before using any achievement commands!\n");
return; return;
} }
g_ISteamUserStats->RequestCurrentStats(); g_ISteamUserStats->RequestCurrentStats();
@ -38,7 +38,7 @@ void Unlock()
int)Item->uniqueid());*/ int)Item->uniqueid());*/
if (safety) if (safety)
{ {
ConColorMsg({ 255, 0, 0, 255 }, "Switch " CON_PREFIX "achievement_safety to 0 before using any achievement commands!\n"); ConColorMsg({ 255, 0, 0, 255 }, "Switch `cat set achievement.safety` to true 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++)