Skip to content

Commit

Permalink
Light Replacer Fix (#21)
Browse files Browse the repository at this point in the history
space-wizards/space-station-14#26136


# Description

Light Replacer no longer sends out the wrong locale string. Read PR
above for details ^

Cherrypicked from Wizden in the gap between last merge and right now.
  • Loading branch information
DangerRevolution committed Mar 23, 2024
1 parent 0f7cf28 commit b083655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Light/EntitySystems/LightReplacerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public bool TryInsertBulbsFromStorage(EntityUid replacerUid, EntityUid storageUi
// show some message if success
if (insertedBulbs > 0 && userUid != null)
{
var msg = Loc.GetString("comp-light-replacer-refill-from-storage", ("light-replacer", storageUid));
var msg = Loc.GetString("comp-light-replacer-refill-from-storage", ("light-replacer", replacerUid));
_popupSystem.PopupEntity(msg, replacerUid, userUid.Value, PopupType.Medium);
}

Expand Down

0 comments on commit b083655

Please sign in to comment.