]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix embedded projectile deletion not being tracked by container (#36123)
authorTayrtahn <tayrtahn@gmail.com>
Fri, 28 Mar 2025 08:43:13 +0000 (04:43 -0400)
committerGitHub <noreply@github.com>
Fri, 28 Mar 2025 08:43:13 +0000 (11:43 +0300)
commitb9517fcbe8c4e95fc4cc49f4e8ce8428d03979e7
tree21e36aee85bb0462d486032f4e060d43a4e0b41a
parent92a3fd99cac9a638ed7c69dd1d6fd07ef9974e10
Fix embedded projectile deletion not being tracked by container (#36123)

* Remove deleted projectiles from the container tracking them

* Gotta dirty the container

* Remove the container component when all embedded projectiles are gone

* Add test

* No clientside deletion of networked entities

* Move cleanup logic before deletion
Content.IntegrationTests/Tests/Embedding/EmbedTest.cs
Content.Shared/Projectiles/SharedProjectileSystem.cs