Files
wwdpublic/Content.Server/Traits/TraitSystem.Functions.cs
VMSolidus 4dfb82527c Fixes For Trait Netcode (#2379)
# Description

It turns out that traits that add or modify a shared component also need
to make sure that said component is Dirtied to the client. Also I
finally figured out what was going on with Thermal Vision.

# TODO

<details><summary><h1>Media</h1></summary>
<p>

Thermal vision is finally fixed:

https://github.com/user-attachments/assets/64aeea2f-39bf-40ec-8530-518194fbb0fc

</p>
</details>

# Changelog

🆑
- fix: Fixed Thermal Vision lasting only a single tick instead of the
full 2 seconds its intended to last.
- fix: Fixed traits not correctly updating the client on changes made to
the character.

(cherry picked from commit b57df8f877057403a7047199ed147c8372bad5a2)
2025-05-03 01:46:53 +03:00

30 KiB