mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-29 19:42:42 +00:00
Merge pull request #4499 from Ccomp5950/runtime_fixs
Runtime fix: Depth scanner now won't check the length of null lists.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
user.visible_message("\blue [user] scans [A], the air around them humming gently.")
|
||||
if(istype(A,/turf/simulated/mineral))
|
||||
var/turf/simulated/mineral/M = A
|
||||
if(M.finds.len || M.artifact_find)
|
||||
if((M.finds && M.finds.len) || M.artifact_find)
|
||||
|
||||
//create a new scanlog entry
|
||||
var/datum/depth_scan/D = new()
|
||||
|
||||
Reference in New Issue
Block a user