mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
prevent crawling away when you get grab intented (#35387)
* Update human.dm * make it work why does an empty list count as true anyway
This commit is contained in:
@@ -2083,7 +2083,7 @@
|
|||||||
return FALSE
|
return FALSE
|
||||||
if(!isfloor(target) || !isfloor(get_turf(src)) || !Adjacent(target))
|
if(!isfloor(target) || !isfloor(get_turf(src)) || !Adjacent(target))
|
||||||
return FALSE
|
return FALSE
|
||||||
if(isUnconscious() || stunned || paralysis || !check_crawl_ability() || pulledby || locked_to || client.move_delayer.blocked())
|
if(isUnconscious() || stunned || paralysis || !check_crawl_ability() || pulledby || grabbed_by.len || locked_to || client.move_delayer.blocked())
|
||||||
return FALSE
|
return FALSE
|
||||||
var/crawldelay = 0.2 SECONDS
|
var/crawldelay = 0.2 SECONDS
|
||||||
if (crawlcounter >= max_crawls_before_fatigue)
|
if (crawlcounter >= max_crawls_before_fatigue)
|
||||||
|
|||||||
Reference in New Issue
Block a user