Skip to content

Commit

Permalink
deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth committed Sep 19, 2024
1 parent 1477bac commit 470d418
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Content.Shared/Placeable/PlaceableSurfaceSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ public void SetPlaceable(EntityUid uid, bool isPlaceable, PlaceableSurfaceCompon
if (!Resolve(uid, ref surface, false))
return;

if (surface.IsPlaceable == isPlaceable)
return;

surface.IsPlaceable = isPlaceable;
Dirty(uid, surface);
}
Expand Down

0 comments on commit 470d418

Please sign in to comment.