Fixed action dialog applying actions

This commit is contained in:
ThaumRystra
2024-04-06 12:41:15 +02:00
parent 1fb1eb83c7
commit 51fa1e7e0b
8 changed files with 24 additions and 16 deletions

View File

@@ -10,12 +10,12 @@ import getReplayChoicesInputProvider from '/imports/api/engine/action/functions/
export const runAction = new ValidatedMethod({
name: 'actions.runAction',
validate: new SimpleSchema({
action: {
type: Object,
blackbox: true,
actionId: {
type: String,
},
decisions: {
type: Array,
optional: true,
},
'decisions.$': {
type: Object,