Skip to content

Commit

Permalink
Fix research disk crash (#33205)
Browse files Browse the repository at this point in the history
* Fix reserach disk crash

* remove extra whitespace

* removed args.handled where args are not handled
  • Loading branch information
ewokswagger authored and PuroSlavKing committed Dec 25, 2024
1 parent 2ee7046 commit ab89ff5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Content.Server/Research/Disk/ResearchDiskSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ private void OnAfterInteract(EntityUid uid, ResearchDiskComponent component, Aft
_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)
Expand Down

0 comments on commit ab89ff5

Please sign in to comment.