length instead of ?.len

This commit is contained in:
joep van der velden
2020-08-08 17:35:51 +02:00
parent c430b6e1e6
commit 1de92a3d06
+1 -1
View File
@@ -36,7 +36,7 @@
var/list/log_types_list = logs[ckey]
// Check if logs exist for the ckey
if(!log_types_list?.len)
if(!length(log_types_list))
return list()
var/list/datum/log_record/log_records = log_types_list[log_type]