predict emag and make blessed record struct events (#13623)

This commit is contained in:
Nemanja
2023-01-21 10:12:45 -05:00
committed by GitHub
parent fec54b7cb2
commit d87d8f2886
17 changed files with 255 additions and 158 deletions

View File

@@ -226,7 +226,7 @@ public sealed class FaxSystem : EntitySystem
args.Handled = true;
}
private void OnEmagged(EntityUid uid, FaxMachineComponent component, GotEmaggedEvent args)
private void OnEmagged(EntityUid uid, FaxMachineComponent component, ref GotEmaggedEvent args)
{
if (component.Emagged)
return;