fix argument call to interactions
This commit is contained in:
parent
24d91f228b
commit
407ce2bc8f
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user