Fix being unable to switch followers & colours from the menu without switching skins

This commit is contained in:
SinnamonLat 2022-05-24 00:18:40 +02:00
parent 5f8eaaf41b
commit 348dab6fe2

View file

@ -2953,6 +2953,10 @@ static void M_MPConfirmCharacterSelection(void)
// finally, call the skin[x] console command.
// This will call SendNameAndColor which will synch everything we sent here and apply the changes!
// This is a hack to make sure we call Skin[x]_OnChange afterwards
CV_StealthSetValue(&cv_skin[i], -1);
strcpy(cmd, commandnames[i]);
strcat(cmd, skins[setup_player[i].skin].name);
COM_ImmedExecute(cmd);