]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix spawning glass shard for each glass sheet in stack (#25308)
authorŁukasz Mędrek <lukasz@lukaszm.xyz>
Fri, 16 Feb 2024 18:42:43 +0000 (18:42 +0000)
committerGitHub <noreply@github.com>
Fri, 16 Feb 2024 18:42:43 +0000 (13:42 -0500)
commit53270be66c9aca763b4bfc68e119d0692cd03fd7
treed3d79a9e1883109c6fe482a60542b27c7c23082a
parentb5aa1e497f17fa5da4e1548be2797bb0ee4027ff
Fix spawning glass shard for each glass sheet in stack (#25308)

* fix: SpawnEntitiesBehavior now works with stacks

Fixed the issue of SpawnEntitiesBehavior not executing multiple times on
entities with stack conponent.

Fixes #25287

* fix: reduced dictionary iterations
Content.Server/Destructible/Thresholds/Behaviors/SpawnEntitiesBehavior.cs