The steal objective from ninjas who are spawned by events will now have the var owner properly set, avoiding runtimes at roundend.

This commit is contained in:
Aranclanos
2013-07-26 14:06:02 -03:00
parent 6435de1c03
commit ba0299a835
+1
View File
@@ -102,6 +102,7 @@
if(2) //steal
var/datum/objective/steal/O = new /datum/objective/steal()
O.set_target(pick(O.possible_items_special))
O.owner = Mind
Mind.objectives += O
if(3) //protect/kill