diff --git a/public/compat_wrappers.h b/public/compat_wrappers.h index bb7d0598..770ea1f7 100644 --- a/public/compat_wrappers.h +++ b/public/compat_wrappers.h @@ -162,7 +162,7 @@ inline int GetPlayerUserId(int client) { - engine->GetPlayerUserId(client - 1); + return engine->GetPlayerUserId(client - 1); } #else inline int GetPlayerUserId(edict_t *pEdict)