lizardqueenlexi / orbstation

The official repository of the Orbstation SS13 server, a fork of /tg/station.
https://www.orbstation.space/
GNU Affero General Public License v3.0
7 stars 18 forks source link

Randomly-spawned humans have random hairstyles again. #574

Closed lizardqueenlexi closed 1 year ago

lizardqueenlexi commented 1 year ago

About The Pull Request

Due to some bizarre code related to randomizing humans, #218 inadvertently made all randomly-spawned humans (regardless of species; not actual humans) completely bald. This includes both humans spawned by admins and cadavers purchased via cargo - and possibly others, too.

This PR simply makes the modified randomize_features() for lizards only run if the target is actually a lizard. This restores everyone's hair, except for lizards, who are still naturally bald.

Why It's Good For The Game

image

Changelog

:cl: fix: fixed hairstyles always getting set to Bald for randomly-spawned humans /:cl: