]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix the component toggler (#37309)
authorSamuka-C <47865393+Samuka-C@users.noreply.github.com>
Fri, 9 May 2025 18:00:58 +0000 (15:00 -0300)
committerGitHub <noreply@github.com>
Fri, 9 May 2025 18:00:58 +0000 (20:00 +0200)
commitfbe05977d503f89e85c0164a78af55a7c51de973
treec52a8b16b88a87401dbddd90077fe7d96c8ce116
parentb769ab0f7e45fe690ad4ea13bbe9f4321018766b
Fix the component toggler (#37309)

* Make the ComponentToggle remember what entity it gave components to

* fix the null problem by just ignoring the null problem

* Add documentation to the new datafield + removing the "= null" that is not necessary

* small fixes and cleaning the code

* whitespace my beloved

* wait, I dont need those lines, why did I add them?
Content.Shared/Item/ItemToggle/ComponentTogglerSystem.cs
Content.Shared/Item/ItemToggle/Components/ComponentTogglerComponent.cs