]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Do not wake up NPC if there is still a mind attached. (#27651)
authorVasilis <vasilis@pikachu.systems>
Sat, 11 May 2024 15:01:28 +0000 (18:01 +0300)
committerGitHub <noreply@github.com>
Sat, 11 May 2024 15:01:28 +0000 (11:01 -0400)
commitb860774d7cd7ee2eb03558e9d02e400916953091
tree4a4f54ad66c4b7c56740e344c299f60274e2632e
parent8366c743f25367930ba9a53f0b7523edcee570cf
Do not wake up NPC if there is still a mind attached. (#27651)

* Do not wake up NPC if there is still a mind attached.

This became apparent with diona nymphs (?) and slime gyras (?). This caused players that disconnected while a nymph, gyras or other npc to resume their NPC behavior. Which I would call unwanted. This fixes that.

* Zombies become AI anyway

* Update Content.Server/NPC/Systems/NPCSystem.cs

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
Content.Server/NPC/Systems/NPCSystem.cs
Content.Server/Zombies/ZombieSystem.Transform.cs