]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Don't use invalid defaults for loadouts (#28740)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sat, 15 Jun 2024 06:53:42 +0000 (16:53 +1000)
committerGitHub <noreply@github.com>
Sat, 15 Jun 2024 06:53:42 +0000 (16:53 +1000)
commit8f12e90b90a6749d783b1f2c8588241749ceeeb2
treecd68bdd8a7598971ab197311e13112c2096367e5
parentf0fbedd6408e4a8f7b4e2614961cc94c3f946d84
Don't use invalid defaults for loadouts (#28740)

* Don't use invalid defaults for loadouts

At the time it made more sense but now with species specific stuff it's better to have nothing.

* Loadout SetDefault only applies valid loadouts
Content.Client/Lobby/LobbyUIController.cs
Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs
Content.Server/Station/Systems/StationSpawningSystem.cs
Content.Shared/Clothing/LoadoutSystem.cs
Content.Shared/Preferences/HumanoidCharacterProfile.cs
Content.Shared/Preferences/Loadouts/Effects/GroupLoadoutEffect.cs
Content.Shared/Preferences/Loadouts/Effects/JobRequirementLoadoutEffect.cs
Content.Shared/Preferences/Loadouts/Effects/LoadoutEffect.cs
Content.Shared/Preferences/Loadouts/Effects/PointsCostLoadoutEffect.cs
Content.Shared/Preferences/Loadouts/Effects/SpeciesLoadoutEffect.cs
Content.Shared/Preferences/Loadouts/RoleLoadout.cs