Merge pull request #14822 from SabreML/bola_walking

Makes removing legcuffs toggle movement intent back to 'Run'
This commit is contained in:
AffectedArc07
2020-11-07 09:30:46 +00:00
committed by GitHub
+4
View File
@@ -649,6 +649,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
update_handcuffed()
else if(I == legcuffed)
legcuffed = null
toggle_move_intent()
update_inv_legcuffed()
/mob/living/carbon/show_inv(mob/user)
@@ -870,6 +871,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
legcuffed.forceMove(drop_location())
legcuffed.dropped()
legcuffed = null
toggle_move_intent()
update_inv_legcuffed()
return
else
@@ -896,6 +898,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
return
else if(I == legcuffed)
legcuffed = null
toggle_move_intent()
update_inv_legcuffed()
return
return 1
@@ -969,6 +972,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
if(legcuffed)
var/obj/item/W = legcuffed
legcuffed = null
toggle_move_intent()
update_inv_legcuffed()
if(client)
client.screen -= W