Merge pull request #5035 from Cyantime/patch-1

Fix click disabling when unbuckling via resist
This commit is contained in:
Anewbe
2018-03-09 10:34:26 -06:00
committed by GitHub
+1 -1
View File
@@ -159,12 +159,12 @@
return ..()
/mob/living/carbon/escape_buckle()
setClickCooldown(100)
if(!buckled) return
if(!restrained())
..()
else
setClickCooldown(100)
visible_message(
"<span class='danger'>[usr] attempts to unbuckle themself!</span>",
"<span class='warning'>You attempt to unbuckle yourself. (This will take around 2 minutes and you need to stand still)</span>"