From 5df4456c4aa91fb4afe05c491e3ade2d8628cd4e Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Wed, 14 Jun 2017 16:31:29 -0400 Subject: [PATCH] Use variable field directly --- src/serialization/sb2_specmap.js | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/serialization/sb2_specmap.js b/src/serialization/sb2_specmap.js index 0f62a42fb..8f574624b 100644 --- a/src/serialization/sb2_specmap.js +++ b/src/serialization/sb2_specmap.js @@ -1191,9 +1191,8 @@ const specMap = { opcode: 'data_setvariableto', argMap: [ { - type: 'input', - inputOp: 'data_variablemenu', - inputName: 'VARIABLE' + type: 'field', + fieldName: 'VARIABLE' }, { type: 'input', @@ -1206,9 +1205,8 @@ const specMap = { opcode: 'data_changevariableby', argMap: [ { - type: 'input', - inputOp: 'data_variablemenu', - inputName: 'VARIABLE' + type: 'field', + fieldName: 'VARIABLE' }, { type: 'input', @@ -1221,9 +1219,8 @@ const specMap = { opcode: 'data_showvariable', argMap: [ { - type: 'input', - inputOp: 'data_variablemenu', - inputName: 'VARIABLE' + type: 'field', + fieldName: 'VARIABLE' } ] }, @@ -1231,9 +1228,8 @@ const specMap = { opcode: 'data_hidevariable', argMap: [ { - type: 'input', - inputOp: 'data_variablemenu', - inputName: 'VARIABLE' + type: 'field', + fieldName: 'VARIABLE' } ] },