Updoot in line with Ater-review.

This commit is contained in:
Mechoid
2019-01-25 21:57:04 -08:00
parent 01ae008d8e
commit 08da232ffb
2 changed files with 16 additions and 20 deletions

View File

@@ -37,25 +37,23 @@
C.update_inv_handcuffed()
if (C.client)
C.client.screen -= W
W.forceMove(C.loc)
W.dropped(C)
if(W)
W.loc = C.loc
W.dropped(C)
if(W)
W.layer = initial(W.layer)
W.layer = initial(W.layer)
if(C.legcuffed)
var/obj/item/weapon/W = C.legcuffed
C.legcuffed = null
C.update_inv_legcuffed()
if(C.client)
C.client.screen -= W
W.forceMove(C.loc)
W.dropped(C)
if(W)
W.loc = C.loc
W.dropped(C)
if(W)
W.layer = initial(W.layer)
if(C.wear_suit && istype(C.wear_suit, /obj/item/clothing/suit/straight_jacket))
W.layer = initial(W.layer)
if(istype(C.wear_suit, /obj/item/clothing/suit/straight_jacket))
var/obj/item/clothing/suit/straight_jacket/SJ = C.wear_suit
SJ.loc = C.loc
SJ.forceMove(C.loc)
SJ.dropped(C)
C.wear_suit = null
escape_cooldown *= 1.5 // Straight jackets are tedious compared to cuffs.

View File

@@ -53,25 +53,23 @@
H.update_inv_handcuffed()
if (H.client)
H.client.screen -= W
W.forceMove(H.loc)
W.dropped(H)
if(W)
W.loc = H.loc
W.dropped(H)
if(W)
W.layer = initial(W.layer)
W.layer = initial(W.layer)
if(H.legcuffed)
var/obj/item/weapon/W = H.legcuffed
H.legcuffed = null
H.update_inv_legcuffed()
if(H.client)
H.client.screen -= W
W.forceMove(H.loc)
W.dropped(H)
if(W)
W.loc = H.loc
W.dropped(H)
if(W)
W.layer = initial(W.layer)
if(H.wear_suit && istype(H.wear_suit, /obj/item/clothing/suit/straight_jacket))
W.layer = initial(W.layer)
if(istype(H.wear_suit, /obj/item/clothing/suit/straight_jacket))
var/obj/item/clothing/suit/straight_jacket/SJ = H.wear_suit
SJ.loc = H.loc
SJ.forceMove(H.loc)
SJ.dropped(H)
H.wear_suit = null