Skip to content

Commit

Permalink
Use playerid in demo name. Fixes #401
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-alton committed Feb 25, 2023
1 parent f73c628 commit 611c652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sv_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ void SV_ClientEnterWorld( client_t *client, usercmd_t *cmd ) {
// call the game begin function
ClientBegin( clientNum );

SV_SApiSteamIDToString(client->steamid, psti, sizeof(psti));
SV_SApiSteamIDToString(client->playerid, psti, sizeof(psti));

//It was never intended to make a new demo for each fast_restart.
//SV_SpawnServer() stops the demo and cleans the name which did not happen here which resulted in strange naming bug
Expand Down

0 comments on commit 611c652

Please sign in to comment.