Fulton fixes (#20102)

This commit is contained in:
metalgearsloth
2023-09-13 18:01:22 +10:00
committed by GitHub
parent 5c15f52703
commit ac66224a3a
2 changed files with 4 additions and 1 deletions

View File

@@ -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),
}); });
} }

View File

@@ -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"),