Skip to content

Commit

Permalink
Primary constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
FireNameFN committed Nov 13, 2024
1 parent 7b2fa6f commit cf7a046
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Content.Shared/Robotics/RoboticsConsoleUi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,9 @@ public RoboticsConsoleState(Dictionary<string, CyborgControlData> cyborgs)

// Corvax-Next-MutableLaws-Start
[Serializable, NetSerializable]
public sealed class RoboticsConsoleChangeLawsMessage : BoundUserInterfaceMessage
public sealed class RoboticsConsoleChangeLawsMessage(string address) : BoundUserInterfaceMessage
{
public readonly string Address;

public RoboticsConsoleChangeLawsMessage(string address)
{
Address = address;
}
public readonly string Address = address;
}
// Corvax-Next-MutableLaws-End

Expand Down

0 comments on commit cf7a046

Please sign in to comment.