Skip to content

Commit

Permalink
runtime fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BogCreature committed Nov 30, 2023
1 parent 26b9afe commit 4bf40d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mining/equipment/mineral_scanner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
/obj/item/pinpointer/mineral/process()
switch(scanmode)
if(SCANMODE_SUBSURFACE)
if(active && target.loc == null)
if(active && target && target.loc == null)
target = null
toggle_on()
. = ..() //returns pinpointer code if its scanning for deepcore spots
Expand Down

0 comments on commit 4bf40d5

Please sign in to comment.