Skip to content

Commit abca2b5

Browse files
committed
Blocked fultoning in the cargo shuttle
1 parent 0274de7 commit abca2b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Content.Shared/Salvage/Fulton/SharedFultonSystem.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private void OnFultonInteract(EntityUid uid, FultonComponent component, AfterInt
143143
//SS220 fulton_grid_restriction start
144144
if (GridCheck(uid, component))
145145
{
146-
_popup.PopupClient(Loc.GetString("fulton-on-the-tradepost"), uid, args.User);
146+
_popup.PopupClient(Loc.GetString("fulton-is-restricted"), uid, args.User);
147147
return;
148148
}
149149
//SS220 fulton_grid_restriction end
@@ -186,7 +186,7 @@ private bool GridCheck(EntityUid uid, FultonComponent component)
186186
if (!_entity.TryGetComponent<MetaDataComponent>(xform, out var metadata))
187187
return true;
188188

189-
if (metadata.EntityName == "Automated Trade Station")
189+
if (metadata.EntityName == "Automated Trade Station" || metadata.EntityName == "Cargo shuttle")
190190
return true;
191191

192192
//check if item not on tradepost
@@ -195,7 +195,7 @@ private bool GridCheck(EntityUid uid, FultonComponent component)
195195
if (!_entity.TryGetComponent<MetaDataComponent>(yform, out metadata))
196196
return true;
197197

198-
if (metadata.EntityName == "Automated Trade Station")
198+
if (metadata.EntityName == "Automated Trade Station" || metadata.EntityName == "Cargo shuttle")
199199
return true;
200200

201201
return false;
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fulton-on-the-tradepost = Пространство заблокированно.
1+
fulton-is-restricted = Пространство заблокированно.

0 commit comments

Comments
 (0)