Cleanup: Fix ``PaperWriteEvent`` in ``PaperSystem`` (#35763)

* Cleanup + fix

* Revert
This commit is contained in:
Winkarst 2025-03-10 17:52:57 +03:00 committed by deltanedas
parent 36db104447
commit c19112802b
1 changed files with 1 additions and 1 deletions

View 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;