Skip to content

Commit

Permalink
[FIX] Scope runtime if user loses the tracker (#28202)
Browse files Browse the repository at this point in the history
* null catch

* put the sybsystem to bed
  • Loading branch information
Erikos66 authored Feb 2, 2025
1 parent 81e777b commit dc15477
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/datums/components/scope.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
))

/datum/component/scope/process()
if(!tracker)
STOP_PROCESSING(SSprojectiles, src)
return
var/mob/user_mob = tracker.owner
var/client/user_client = user_mob.client
if(!user_client)
Expand Down

0 comments on commit dc15477

Please sign in to comment.