NSM: fix round 2

This commit is contained in:
neon 2019-06-04 20:36:20 +02:00
parent f82ab6eeb9
commit 0c87e9e650

View File

@ -348,7 +348,7 @@ public int Native_GetPlayerType(Handle hPlugin, int numParams)
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID));
if(SteamClientAuthenticated(sAuthID))
return SetNativeString(2, "SteamLegit", length + 1);
return !SetNativeString(2, "SteamLegit", length + 1);
return !SetNativeString(2, "NoAuth", length + 1);
}