Added nullcheck to mind.dm

This commit is contained in:
Head
2012-07-28 18:05:32 +02:00
parent f814d99249
commit 7ae24d3d36

View File

@@ -24,6 +24,8 @@ datum/mind
proc/transfer_to(mob/new_character)
// multikey information is stored in the mob, not the mind, so
// we need to clean this stuff up to avoid multikey alerts
if(!new_character || !current)
return
current.lastKnownIP = null
current.computer_id = null