Set interaction priority of PlacableSurfaceComponent to 1

This commit is contained in:
juliangiebel
2020-08-13 20:14:07 +02:00
parent 3b894c7de4
commit 781faae98a

View File

@@ -1,4 +1,4 @@
using Content.Server.GameObjects.Components.GUI; using Content.Server.GameObjects.Components.GUI;
using Content.Shared.GameObjects.Components; using Content.Shared.GameObjects.Components;
using Content.Shared.Interfaces.GameObjects.Components; using Content.Shared.Interfaces.GameObjects.Components;
using Robust.Shared.GameObjects; using Robust.Shared.GameObjects;
@@ -12,6 +12,8 @@ namespace Content.Server.GameObjects.Components
private bool _isPlaceable; private bool _isPlaceable;
public bool IsPlaceable { get => _isPlaceable; set => _isPlaceable = value; } public bool IsPlaceable { get => _isPlaceable; set => _isPlaceable = value; }
int IInteractUsing.Priority { get => 1; }
public override void ExposeData(ObjectSerializer serializer) public override void ExposeData(ObjectSerializer serializer)
{ {
base.ExposeData(serializer); base.ExposeData(serializer);