Fixes the steal objective from runtiming

This commit is contained in:
joep van der velden
2020-06-06 09:55:00 +02:00
parent cb7b318b10
commit 8e2b69f5db
+3
View File
@@ -399,6 +399,9 @@ GLOBAL_LIST_INIT(potential_theft_objectives, (subtypesof(/datum/theft_objective)
if(!steal_target)
return 1 // Free Objective
if(!owner.current)
return FALSE
var/list/all_items = owner.current.GetAllContents()
for(var/obj/I in all_items)