this is all butts

This commit is contained in:
Joan Lung
2016-06-08 23:18:23 -04:00
parent 0b8503bba8
commit 16fa622e56

View File

@@ -209,11 +209,11 @@
user << "<span class='warning'>This MMI does not seem to fit!</span>" user << "<span class='warning'>This MMI does not seem to fit!</span>"
return return
var/mob/living/silicon/robot/O = new /mob/living/silicon/robot(get_turf(loc)) if(!user.unEquip(W))
if(!O)
return return
if(!user.unEquip(W)) var/mob/living/silicon/robot/O = new /mob/living/silicon/robot(get_turf(loc))
if(!O)
return return
if(M.hacked || M.clockwork) if(M.hacked || M.clockwork)
@@ -240,9 +240,10 @@
O.notify_ai(1) O.notify_ai(1)
if(forced_ai) if(forced_ai)
O.connected_ai = forced_ai O.connected_ai = forced_ai
if(!lawsync && !M.hacked) if(!lawsync)
O.lawupdate = 0 O.lawupdate = 0
O.make_laws() if(!M.hacked && !M.clockwork)
O.make_laws()
ticker.mode.remove_antag_for_borging(BM.mind) ticker.mode.remove_antag_for_borging(BM.mind)
BM.mind.transfer_to(O) BM.mind.transfer_to(O)