mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Tidy up conditions for forceskin to not include !K_CanChangeRules or Playing.
This commit is contained in:
parent
05ee3df2f4
commit
4d607ccdec
1 changed files with 2 additions and 2 deletions
|
|
@ -1356,7 +1356,7 @@ boolean CanChangeSkin(INT32 playernum)
|
|||
return true;
|
||||
|
||||
// Force skin in effect.
|
||||
if (cv_forceskin.value != -1)
|
||||
if (cv_forceskin.value != -1 && K_CanChangeRules(true))
|
||||
return false;
|
||||
|
||||
// ... there used to be a lot more here, but it's now handled in Got_NameAndColor.
|
||||
|
|
@ -6107,7 +6107,7 @@ static void Command_Automate_Set(void)
|
|||
static void ForceSkin_OnChange(void)
|
||||
{
|
||||
// NOT in SP, silly!
|
||||
if (!(netgame || multiplayer))
|
||||
if (!Playing() || !K_CanChangeRules(true))
|
||||
return;
|
||||
|
||||
if (cv_forceskin.value < 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue