[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:
committed by
Poojawa
parent
b044758315
commit
f19665e698
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user