Fix null ref

This commit is contained in:
Rob Nelson
2013-11-23 21:51:16 -08:00
parent b493cbf0fb
commit ae9f14ac65

View File

@@ -208,7 +208,7 @@
mind.transfer_to(O)
if(O.mind.assigned_role == "Cyborg")
O.mind.original = O
else if(mind.special_role)
else if(mind && mind.special_role)
O.mind.store_memory("In case you look at this after being borged, the objectives are only here until I find a way to make them not show up for you, as I can't simply delete them without screwing up round-end reporting. --NeoFite")
else
O.key = key