Skip to content

Commit 235fb9e

Browse files
committed
Fix longstanding siege bug from modbase import
1 parent 43e9a3d commit 235fb9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codemp/game/g_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2345,7 +2345,7 @@ qboolean ClientUserinfoChanged( int clientNum ) {
23452345
}
23462346
if ( level.gametype == GT_SIEGE ) {
23472347
Q_strcat( buf, sizeof( buf ), va( "siegeclass\\%s\\", className ) );
2348-
Q_strcat( buf, sizeof( buf ), va( "sdt\\%i\\", className ) );
2348+
Q_strcat( buf, sizeof( buf ), va( "sdt\\%i\\", client->sess.siegeDesiredTeam ) );
23492349
}
23502350

23512351
trap->GetConfigstring( CS_PLAYERS+clientNum, oldClientinfo, sizeof( oldClientinfo ) );

0 commit comments

Comments
 (0)