mirror of
https://github.com/hermansimensen/eventqueue-fix.git
synced 2025-12-07 02:18:26 +00:00
fix caller bug
This commit is contained in:
parent
d7c342bfb3
commit
23efffa68b
@ -229,7 +229,7 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3
|
|||||||
if(event.delay <= 0.0)
|
if(event.delay <= 0.0)
|
||||||
{
|
{
|
||||||
SetVariantString(event.variantValue);
|
SetVariantString(event.variantValue);
|
||||||
AcceptEntityInput(client, event.targetInput, client, event.caller, event.outputID);
|
AcceptEntityInput(client, event.targetInput, client, client, event.outputID); //right now I'm setting the client as the caller, because sourcemod freaks out if the caller isn't a regular CBaseEntity.
|
||||||
|
|
||||||
#if defined DEBUG
|
#if defined DEBUG
|
||||||
PrintToChat(client, "Performing output: %s, %i", event.variantValue, event.outputID);
|
PrintToChat(client, "Performing output: %s, %i", event.variantValue, event.outputID);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user