slightly increased the delay
This commit is contained in:
parent
6f03346018
commit
cace8afc41
@ -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, "OnStartTouch", OnEntityOutPut_mp);
|
||||||
UnhookSingleEntityOutput(entity_index, "OnTrigger", OnEntityOutPut_mp);
|
UnhookSingleEntityOutput(entity_index, "OnTrigger", OnEntityOutPut_mp);
|
||||||
//experimental if unhooking very shortly solves tp lag
|
//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, "OnStartTouch", OnEntityOutPut_tp);
|
||||||
UnhookSingleEntityOutput(entity_index, "OnTrigger", OnEntityOutPut_tp);
|
UnhookSingleEntityOutput(entity_index, "OnTrigger", OnEntityOutPut_tp);
|
||||||
//experimental if unhooking very shortly solves tp lag
|
//experimental if unhooking very shortly solves tp lag
|
||||||
CreateTimer(0.2, reset_hook_tp, INVALID_HANDLE);
|
CreateTimer(0.5, reset_hook_tp, INVALID_HANDLE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user