Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Content.Server.Power.Components
|
||||
/// and battery storage should be handed off to components like <see cref="BatteryComponent"/>.
|
||||
/// </remarks>
|
||||
[RegisterComponent]
|
||||
public sealed class PowerNetworkBatteryComponent : Component
|
||||
public sealed partial class PowerNetworkBatteryComponent : Component
|
||||
{
|
||||
[ViewVariables] public float LastSupply = 0f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user