rebel1324 / NutScript

A free role-play framework for Garry's Mod.
http://nutscript.net
MIT License
65 stars 31 forks source link

Fallback to char-skin instead 0 on unwear outfit #297

Closed blt950 closed 5 years ago

blt950 commented 5 years ago

If you've citizen models with customs skins, and you wear an outfit that only changes bodygroups - the skin will be reset to 0 when you take off the outfit. This is because it falls back to 0, instead of the skin from the character data.

This is relevant when you make outfits which don't alter the skin of the characters, as then "oldSkin" would be set and used.