Fulton fixes (#20102)
This commit is contained in:
@@ -66,7 +66,7 @@ public sealed class FultonSystem : SharedFultonSystem
|
|||||||
RaiseNetworkEvent(new FultonAnimationMessage()
|
RaiseNetworkEvent(new FultonAnimationMessage()
|
||||||
{
|
{
|
||||||
Entity = GetNetEntity(uid, metadata),
|
Entity = GetNetEntity(uid, metadata),
|
||||||
Coordinates = GetNetCoordinates(oldCoords, metadata),
|
Coordinates = GetNetCoordinates(oldCoords),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,9 @@ public abstract partial class SharedFultonSystem : EntitySystem
|
|||||||
|
|
||||||
private void OnFultonedGetVerbs(EntityUid uid, FultonedComponent component, GetVerbsEvent<InteractionVerb> args)
|
private void OnFultonedGetVerbs(EntityUid uid, FultonedComponent component, GetVerbsEvent<InteractionVerb> args)
|
||||||
{
|
{
|
||||||
|
if (!args.CanAccess || !args.CanInteract)
|
||||||
|
return;
|
||||||
|
|
||||||
args.Verbs.Add(new InteractionVerb()
|
args.Verbs.Add(new InteractionVerb()
|
||||||
{
|
{
|
||||||
Text = Loc.GetString("fulton-remove"),
|
Text = Loc.GetString("fulton-remove"),
|
||||||
|
|||||||
Reference in New Issue
Block a user