]> git.smokeofanarchy.ru Git - space-station-14.git/commit
For DamagedSiliconAccent use Destructible threshold for default "DamageAtMaxThreshold...
authorQuantum-cross <7065792+Quantum-cross@users.noreply.github.com>
Thu, 8 May 2025 00:44:36 +0000 (20:44 -0400)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 00:44:36 +0000 (20:44 -0400)
commit6bb3b83bf1dace5b13f763462778db308d3b3635
tree47a902b5234ff9f5683e0d2fd7b5aa98b55a6c5b
parentd80934b156bf4d4bfa355ba66289b8547051989e
For DamagedSiliconAccent use Destructible threshold for default "DamageAtMaxThreshold" (#37252)

* set DamageAtMaxCorruption as nullable with null default and use destructible trigger threshold for this if null.

* fix documentation

* these really don't need to be passed by reference
Content.Server/Speech/EntitySystems/DamagedSiliconAccentSystem.cs
Content.Shared/Speech/Components/DamagedSiliconAccentComponent.cs