]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Refactor NPCRetaliationSystem::Update to fix crash caused by Debug Assertion (#21785)
authorChronophylos <nikolai@chronophylos.com>
Sat, 2 Dec 2023 17:00:31 +0000 (18:00 +0100)
committerGitHub <noreply@github.com>
Sat, 2 Dec 2023 17:00:31 +0000 (12:00 -0500)
commitb8ded78305f093bf574e811ad4797e18a758b179
tree2d91adccd24a927dde2cd98e2f9f3a1591cbff11
parent692e6489f70bd6f8ef3a0dbdbcf286cdc20885bc
Refactor NPCRetaliationSystem::Update to fix crash caused by Debug Assertion (#21785)

* refactor names for clarity

* remove check adding entity to deaggro queue twice

* merge loops

* remove unused queue

* add back check for terminating or deleted entities

* trigger workflow
Content.Server/NPC/Systems/NPCRetaliationSystem.cs