File tree 1 file changed +6
-2
lines changed
monkestation/code/game/machinery/computer 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 10
10
return NTNET_NO_SIGNAL
11
11
12
12
/ datum / crewmonitor/ proc / get_tracking_level(tracked_mob, tracker_z, nt_net, validation= TRUE )
13
- if (! tracked_mob)
13
+ if (isnull( tracked_mob) )
14
14
if (validation)
15
15
stack_trace (" Null entry in suit sensors or nanite sensors list." )
16
16
return SENSOR_OFF
21
21
var /turf /pos = get_turf(tracked_living_mob)
22
22
23
23
// Is our target in nullspace for some reason?
24
- if (! pos)
24
+ if (isnull( pos) )
25
25
if (validation)
26
26
stack_trace (" Tracked mob has no loc and is likely in nullspace: [ tracked_living_mob] ( [ tracked_living_mob. type] )" )
27
27
return SENSOR_OFF
28
28
29
+ // Radio jammers block sensors.
30
+ if (is_within_radio_jammer_range(pos))
31
+ return SENSOR_OFF
32
+
29
33
// Machinery and the target should be on the same level or different levels of the same station
30
34
if (pos. z != tracker_z && ! (tracker_z in SSmapping. get_connected_levels(pos. z)) && ! (nt_net && get_ntnet_wireless_status(pos. z)) && ! HAS_TRAIT (tracked_living_mob, TRAIT_MULTIZ_SUIT_SENSORS ))
31
35
return SENSOR_OFF
You can’t perform that action at this time.
0 commit comments