copy pasting the password from the forward back to the connect extension so that the webclient can have it be used

This commit is contained in:
jenz 2026-07-24 10:01:37 +01:00
parent df4b1b0aa7
commit 5e262c573a

View File

@ -596,6 +596,8 @@ DETOUR_DECL_MEMBER9(CBaseServer__ConnectClient, IClient*, netadr_t&, address, in
}
pchPassword = passwordBuffer;
//overwrite it to the storage so the webclient can use its value assigned by nosteam celt plugin inside the SetSteamID detour.
V_strncpy(Storage.pchPassword, passwordBuffer, sizeof(Storage.pchPassword));
// k_OnClientPreConnectEx_Reject
if (retVal == 0)
{