Files
wwdpublic/Content.Server/Power/Components/ActiveChargerComponent.cs
Mnemotechnican 933944a1bc Fix #864 and Rehydratable System Doing Client-Side Spawn (#888)
# Description
- Resolves #864 by partially reverting #516 
- Adds a _net.IsClient check to RehydratableSystem to avoid spawning
duplicate entities on client side

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


https://github.com/user-attachments/assets/e50785a6-b5f7-4484-9097-118bc3a5dfa5


</p>
</details>

---

# Changelog
🆑
- fix: Cyborg recharging stations finally work again.
- fix: Rehydratable entities (such as monkey cubes) no longer spawn a
second client-side entity when rehydrated.

---------

Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
Co-authored-by: VMSolidus <evilexecutive@gmail.com>
2024-10-19 12:52:40 +07:00

8 lines
203 B
C#

using Content.Shared.Containers.ItemSlots;
using Content.Shared.Power;
namespace Content.Server.Power.Components;
[RegisterComponent]
public sealed partial class ActiveChargerComponent : Component { }