Skip to content

Commit

Permalink
Update SiliconLawSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 authored Sep 19, 2024
1 parent cb58413 commit d475d9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Content.Server/Silicons/Laws/SiliconLawSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ public void SetLaws(List<SiliconLaw> newLaws, EntityUid target)
{
if (!TryComp<SiliconLawProviderComponent>(target, out var component))
return;

if (component.Lawset == null)
component.Lawset = new SiliconLawset();

Expand Down

0 comments on commit d475d9f

Please sign in to comment.