Skip to content

Commit d89b7aa

Browse files
committed
Merge pull request #63 from jsza/62-fix-query-cvar-debug-level
Fix CSourcePython::OnQueryCvarValueFinished debug message.
2 parents 0b26c0c + c8df246 commit d89b7aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/sp_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ PLUGIN_RESULT CSourcePython::NetworkIDValidated( const char *pszUserName, const
380380
void CSourcePython::OnQueryCvarValueFinished( QueryCvarCookie_t iCookie, edict_t *pPlayerEntity,
381381
EQueryCvarValueStatus eStatus, const char *pCvarName, const char *pCvarValue )
382382
{
383-
PythonLog(1, "Cvar query (cookie: %d, status: %d) - name: %s, value: %s\n", iCookie, eStatus, pCvarName, pCvarValue );
383+
PythonLog(4, "Cvar query (cookie: %d, status: %d) - name: %s, value: %s\n", iCookie, eStatus, pCvarName, pCvarValue );
384384
CALL_LISTENERS(OnQueryCvarValueFinished, (int) iCookie, IndexFromEdict(pPlayerEntity), eStatus, pCvarName, pCvarValue);
385385
}
386386

@@ -390,7 +390,7 @@ void CSourcePython::OnQueryCvarValueFinished( QueryCvarCookie_t iCookie, edict_t
390390
void CSourcePython::FireGameEvent( IGameEvent * event )
391391
{
392392
const char * name = event->GetName();
393-
PythonLog(1, "CSourcePython::FireGameEvent: Got event \"%s\"\n", name );
393+
PythonLog(4, "CSourcePython::FireGameEvent: Got event \"%s\"\n", name );
394394

395395
//g_AddonManager.FireGameEvent(event);
396396
}

0 commit comments

Comments
 (0)