[MIRROR] Fixes another stack overflow in pull code (#3515)

* Merge pull request #31905 from AnturK/anotherloop

Fixes another stack overflow in pull code

* Fixes another stack overflow in pull code
This commit is contained in:
CitadelStationBot
2017-10-20 01:42:18 -05:00
committed by Poojawa
parent b044758315
commit f19665e698
+5 -3
View File
@@ -384,12 +384,14 @@
if(pulling)
pulling.pulledby = null
if(isliving(pulling))
var/mob/living/L = pulling
L.update_canmove()// mob gets up if it was lyng down in a chokehold
var/mob/living/ex_pulled = pulling
pulling = null
grab_state = 0
update_pull_hud_icon()
if(isliving(ex_pulled))
var/mob/living/L = ex_pulled
L.update_canmove()// mob gets up if it was lyng down in a chokehold
/mob/proc/update_pull_hud_icon()
if(hud_used)