Fixes brig timers, medboots and titanium (#4241)

-fixes #4216
-fixes #4239
-fixes titanium being the same thing as plasteel
-fixes drop pods not working when you select a ghost
This commit is contained in:
Alberyk
2018-02-03 19:33:28 -02:00
committed by Erki
parent 49eaa801a8
commit faf9d48fec
4 changed files with 10 additions and 6 deletions

View File

@@ -210,10 +210,7 @@
// Chuck them into the pod.
var/automatic_pod
if(spawned_mob && selected_player)
if(selected_player.mob.mind)
selected_player.mob.mind.transfer_to(spawned_mob)
else
spawned_mob.ckey = selected_player.mob.ckey
spawned_mob.ckey = selected_player.mob.ckey
spawned_mobs = list(spawned_mob)
message_admins("[key_name_admin(usr)] dropped a pod containing \the [spawned_mob] ([spawned_mob.key]) at ([usr.x],[usr.y],[usr.z])")
log_admin("[key_name(usr)] dropped a pod containing \the [spawned_mob] ([spawned_mob.key]) at ([usr.x],[usr.y],[usr.z])",admin_key=key_name(usr),ckey=key_name(spawned_mob))