fix argument call to interactions

This commit is contained in:
RaidMax 2022-10-13 10:26:22 -05:00
parent 24d91f228b
commit 407ce2bc8f

View File

@ -99,7 +99,7 @@ public class InteractionRegistration : IInteractionRegistration
try
{
var interaction = await _interactions[interactionId](originId, game, token);
var interaction = await _interactions[interactionId](targetId, game, token);
if (interaction.Action is not null)
{
@ -115,7 +115,7 @@ public class InteractionRegistration : IInteractionRegistration
continue;
}
return scriptPlugin.ExecuteAction<string>(interaction.ScriptAction, originId, targetId, game, token);
return scriptPlugin.ExecuteAction<string>(interaction.ScriptAction, originId, targetId, game, meta, token);
}
}
}