]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Cleanup: Fix ``PaperWriteEvent`` in ``PaperSystem`` (#35763)
authorWinkarst <74284083+Winkarst-cpu@users.noreply.github.com>
Mon, 10 Mar 2025 14:52:57 +0000 (17:52 +0300)
committerGitHub <noreply@github.com>
Mon, 10 Mar 2025 14:52:57 +0000 (15:52 +0100)
* Cleanup + fix

* Revert

Content.Shared/Paper/PaperSystem.cs

index 07fe8150e1d82d264a0f25459dc9fdd8ce33338f..c1b1b295cfa3cce3322f912583057dd78664a358 100644 (file)
@@ -128,7 +128,7 @@ public sealed class PaperSystem : EntitySystem
                     return;
                 }
 
-                var writeEvent = new PaperWriteEvent(entity, args.User);
+                var writeEvent = new PaperWriteEvent(args.User, entity);
                 RaiseLocalEvent(args.Used, ref writeEvent);
 
                 entity.Comp.Mode = PaperAction.Write;