NoSteamManager: Wrong native index, whoops.

This commit is contained in:
zaCade 2019-05-13 21:51:19 +02:00
parent b651a070f7
commit a4aca1c313
2 changed files with 3 additions and 3 deletions

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(1, "SteamLegit", length + 1);
return SetNativeString(2, "SteamLegit", length + 1);
return SetNativeString(1, "NoAuth", length + 1);
return SetNativeString(2, "NoAuth", length + 1);
}

View File

@ -329,5 +329,5 @@ public int Native_GetPlayerType(Handle hPlugin, int numParams)
char[] sPlayerType = new char[length + 1];
RevEmu_GetPlayerType(client, sPlayerType, length + 1);
return SetNativeString(1, sPlayerType, length + 1);
return SetNativeString(2, sPlayerType, length + 1);
}