Skip to content

Commit

Permalink
code change after review
Browse files Browse the repository at this point in the history
  • Loading branch information
HellCatten committed Aug 24, 2024
1 parent de05685 commit f85c918
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Content.Shared/Storage/EntitySystems/MagnetPickupSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public override void Update(float frameTime)

while (query.MoveNext(out var uid, out var comp, out var storage, out var xform, out var meta))
{
TryComp<ItemToggleComponent>(uid, out var toggle);
if (!TryComp<ItemToggleComponent>(uid, out var toggle))
continue;

if (!_itemToggle.IsActivated(uid, toggle))
continue;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
## Used when examining the MagnetPickupComponent
## Выводится при осмотре предмета с MagnetPickupCompontent
## Выводится при осмотре предмета с MagnetPickupCompontent

comp-magnet-pickup-examined-on = Магнит сейчас [color=darkgreen]включен[/color].
comp-magnet-pickup-examined-off = Магнит сейчас [color=darkred]выключен[/color].

0 comments on commit f85c918

Please sign in to comment.