]> git.smokeofanarchy.ru Git - space-station-14.git/commit
fix: Block EntityStorage from inserting into mechs (#37942)
authorPerry Fraser <perryprog@users.noreply.github.com>
Tue, 26 Aug 2025 10:29:12 +0000 (06:29 -0400)
committerGitHub <noreply@github.com>
Tue, 26 Aug 2025 10:29:12 +0000 (12:29 +0200)
commitfd4a0a29b4588f000017de2f8708636a0f9376f9
tree25450525ce038478e979ec177960908ceaa19209
parentceda478ae2fb0900b85ef4001c633e217958cb08
fix: Block EntityStorage from inserting into mechs (#37942)

This additionally moves the hard-coded check for HandsComp that
previously did this, and moves it into an event which now both
HandsSystem and MechSystem subscribe to.
Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs
Content.Shared/Mech/EntitySystems/SharedMechSystem.cs
Content.Shared/Storage/Components/EntityStorageComponent.cs
Content.Shared/Storage/EntitySystems/SharedEntityStorageSystem.cs