mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Fixes #6224
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
|
||||
/obj/machinery/camera/proc/isXRay()
|
||||
var/obj/item/weapon/stock_parts/scanning_module/O = locate(/obj/item/weapon/stock_parts/scanning_module) in assembly.upgrades
|
||||
if (O.rating >= 2)
|
||||
if (O && O.rating >= 2)
|
||||
return O
|
||||
return null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user