From cace8afc418b4171015554a460837f932439fbc2 Mon Sep 17 00:00:00 2001 From: jenz Date: Mon, 10 Jan 2022 22:31:42 +0100 Subject: [PATCH] slightly increased the delay --- AutismBotIngame/scripting/autism_bot_info.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutismBotIngame/scripting/autism_bot_info.sp b/AutismBotIngame/scripting/autism_bot_info.sp index ed991c1b..b90ed446 100644 --- a/AutismBotIngame/scripting/autism_bot_info.sp +++ b/AutismBotIngame/scripting/autism_bot_info.sp @@ -328,7 +328,7 @@ public void OnEntityOutPut_mp(const char[] output, int entity_index, int client, UnhookSingleEntityOutput(entity_index, "OnStartTouch", OnEntityOutPut_mp); UnhookSingleEntityOutput(entity_index, "OnTrigger", OnEntityOutPut_mp); //experimental if unhooking very shortly solves tp lag - CreateTimer(0.2, reset_hook_mp, INVALID_HANDLE); + CreateTimer(0.5, reset_hook_mp, INVALID_HANDLE); } } @@ -356,7 +356,7 @@ public void OnEntityOutPut_tp(const char[] output, int entity_index, int client, UnhookSingleEntityOutput(entity_index, "OnStartTouch", OnEntityOutPut_tp); UnhookSingleEntityOutput(entity_index, "OnTrigger", OnEntityOutPut_tp); //experimental if unhooking very shortly solves tp lag - CreateTimer(0.2, reset_hook_tp, INVALID_HANDLE); + CreateTimer(0.5, reset_hook_tp, INVALID_HANDLE); } }