mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 07:40:54 -05:00
fix argument call to interactions
This commit is contained in:
@ -99,7 +99,7 @@ public class InteractionRegistration : IInteractionRegistration
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var interaction = await _interactions[interactionId](originId, game, token);
|
var interaction = await _interactions[interactionId](targetId, game, token);
|
||||||
|
|
||||||
if (interaction.Action is not null)
|
if (interaction.Action is not null)
|
||||||
{
|
{
|
||||||
@ -115,7 +115,7 @@ public class InteractionRegistration : IInteractionRegistration
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
return scriptPlugin.ExecuteAction<string>(interaction.ScriptAction, originId, targetId, game, token);
|
return scriptPlugin.ExecuteAction<string>(interaction.ScriptAction, originId, targetId, game, meta, token);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user