]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fixed portal artifacts targeting the Ai (#32677)
authorKevin Matuschzik <92296572+Gamer3107@users.noreply.github.com>
Mon, 14 Oct 2024 05:55:46 +0000 (07:55 +0200)
committerGitHub <noreply@github.com>
Mon, 14 Oct 2024 05:55:46 +0000 (16:55 +1100)
commit906913563e9f53fc76c5a26837eb6ed8c92c097c
tree638df80ed35b8c4729b4d7905752ca6e61b2dd4e
parent9b71757c0765eee1dc56bd108d1413e107c86eac
Fixed portal artifacts targeting the Ai (#32677)

* Added checks to not target AIs and people in containers

* made the change to use IsEntityInContainer. Much Better!

* returned old Mindquerry and removed wrong use of admin logger

* guard statment

* removed unnecessery refs and fixed position swap

* Minor change

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Content.Server/Xenoarchaeology/XenoArtifacts/Effects/Systems/PortalArtifactSystem.cs