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

@@ -85,7 +85,7 @@ namespace Content.Server.Power.EntitySystems
SoundSystem.Play(apc.OnReceiveMessageSound.GetSound(), Filter.Pvs(uid), uid, AudioParams.Default.WithVolume(-2f));
}
private void OnEmagged(EntityUid uid, ApcComponent comp, GotEmaggedEvent args)
private void OnEmagged(EntityUid uid, ApcComponent comp, ref GotEmaggedEvent args)
{
if(!comp.Emagged)
{