]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Invalid species fallback on spawn/profile validation (#14675)
authorFlipp Syder <76629141+vulppine@users.noreply.github.com>
Wed, 15 Mar 2023 04:47:40 +0000 (21:47 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Mar 2023 04:47:40 +0000 (23:47 -0500)
commiteb04c43db4cabb0d4ba4fc953036795598652117
tree4073db92d1bfb34ac506a7c7cf3731f46839e7ec
parentdfcf3c28e7251bf18fd631a6831adc72865acbe4
Invalid species fallback on spawn/profile validation (#14675)

* if a player's profile has an invalid species, station spawning will always try to fallback to the default humanoid species

* validation always ensures that if a species can't be indexed, the species falls back to the default species
Content.Server/Station/Systems/StationSpawningSystem.cs
Content.Shared/Preferences/HumanoidCharacterProfile.cs