]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Change Polymorph Actions to use Polymorph Proto Id (#26419)
authorkeronshb <54602815+keronshb@users.noreply.github.com>
Fri, 29 Mar 2024 06:41:09 +0000 (02:41 -0400)
committerGitHub <noreply@github.com>
Fri, 29 Mar 2024 06:41:09 +0000 (17:41 +1100)
commit06b14f30cd9267abcb135e6031a273905cf1ba40
tree95b5f7fcbf65e38c111c6130faee3880cb87d4f7
parent12a384ff258a6690b532532f432258ce8e915897
Change Polymorph Actions to use Polymorph Proto Id (#26419)

* polymorph changes

Adds poly proto ids to polymorph action event and checks for proto id when performing

* nullable proto id

* Replaces instances of Polymorph prototype with a proto id and tryindex

* birdup

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Content.Server/Polymorph/Systems/PolymorphSystem.cs
Content.Server/Polymorph/Toolshed/PolymorphCommand.cs
Content.Shared/Polymorph/PolymorphActions.cs