Move PaperSystem to Shared (#30592)
* Fix paper system late localization * IS THIS WHAT YOU WANT * well I guess this is happening now * fix the BUI * did that even do anything before? * again with the escapeformatting... * Dirtying * Move dirty to function * Rename PaperSystem to PaperVisualizerSystem * Fix namespace * how many namespace changes must I suffer through * SetContent is for Setting Content * minor shuffling * review --------- Co-authored-by: plykiya <plykiya@protonmail.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -5,7 +5,6 @@ using Content.Server.DeviceNetwork;
|
||||
using Content.Server.DeviceNetwork.Components;
|
||||
using Content.Server.DeviceNetwork.Systems;
|
||||
using Content.Server.Labels;
|
||||
using Content.Server.Paper;
|
||||
using Content.Server.Popups;
|
||||
using Content.Server.Power.Components;
|
||||
using Content.Server.Tools;
|
||||
@@ -591,14 +590,14 @@ public sealed class FaxSystem : EntitySystem
|
||||
|
||||
if (TryComp<PaperComponent>(printed, out var paper))
|
||||
{
|
||||
_paperSystem.SetContent(printed, printout.Content);
|
||||
_paperSystem.SetContent((printed, paper), printout.Content);
|
||||
|
||||
// Apply stamps
|
||||
if (printout.StampState != null)
|
||||
{
|
||||
foreach (var stamp in printout.StampedBy)
|
||||
{
|
||||
_paperSystem.TryStamp(printed, stamp, printout.StampState);
|
||||
_paperSystem.TryStamp((printed, paper), stamp, printout.StampState);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user