Fix research disk crash (#33205)

* Fix reserach disk crash

* remove extra whitespace

* removed args.handled where args are not handled
This commit is contained in:
SolStar
2024-11-07 19:29:03 -05:00
committed by GitHub
parent 6a1d631b14
commit 261c18f764

View File

@@ -31,6 +31,7 @@ namespace Content.Server.Research.Disk
_research.ModifyServerPoints(args.Target.Value, component.Points, server);
_popupSystem.PopupEntity(Loc.GetString("research-disk-inserted", ("points", component.Points)), args.Target.Value, args.User);
EntityManager.QueueDeleteEntity(uid);
args.Handled = true;
}
private void OnMapInit(EntityUid uid, ResearchDiskComponent component, MapInitEvent args)