From 3c4b7507e9838ac8c52ad3b785fc667ffdddb371 Mon Sep 17 00:00:00 2001 From: Segrain Date: Sun, 28 Jul 2013 13:02:10 +0300 Subject: [PATCH] Reactiveness 'quick'fix. --- code/modules/mob/living/carbon/human/human.dm | 2 +- code/modules/mob/mob.dm | 2 +- code/modules/mob/mob_grab.dm | 2 +- code/modules/mob/screen.dm | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index d9cd07e05c3..1ceeba4e679 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1114,7 +1114,7 @@ mob/living/carbon/human/yank_out_object() set desc = "Remove an embedded item at the cost of bleeding and pain." set src in view(1) - if(!isliving(usr) || usr.last_click + usr.click_delay < world.time) + if(!isliving(usr) || usr.last_click + usr.click_delay > world.time) return usr.delay_click(20) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index ef1b2998a02..adc535e70d9 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -900,7 +900,7 @@ mob/verb/yank_out_object() set desc = "Remove an embedded item at the cost of bleeding and pain." set src in view(1) - if(!isliving(usr) || usr.last_click + usr.click_delay < world.time) + if(!isliving(usr) || usr.last_click + usr.click_delay > world.time) return usr.delay_click(20) diff --git a/code/modules/mob/mob_grab.dm b/code/modules/mob/mob_grab.dm index e3992975a98..68941a4d090 100644 --- a/code/modules/mob/mob_grab.dm +++ b/code/modules/mob/mob_grab.dm @@ -128,7 +128,7 @@ return if(killing) return - if (assailant.last_click + assailant.click_delay < world.time) + if (assailant.last_click + assailant.click_delay > world.time) return if ((!( assailant.canmove ) || assailant.lying)) //SN src = null diff --git a/code/modules/mob/screen.dm b/code/modules/mob/screen.dm index 80b1f9af72d..514872db379 100644 --- a/code/modules/mob/screen.dm +++ b/code/modules/mob/screen.dm @@ -600,7 +600,7 @@ set name = "Resist" set category = "IC" - if(!isliving(usr) || usr.last_click + usr.click_delay < world.time) + if(!isliving(usr) || usr.last_click + usr.click_delay > world.time) return usr.delay_click(20)