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 deltanedas
parent 4425e197a7
commit 93981a264f
1 changed files with 1 additions and 0 deletions

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)