File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -530,17 +530,17 @@ class ScriptTreeGenerator {
530530 } else {
531531 switch ( property ) {
532532 case 'x position' :
533- return new IntermediateInput ( InputOpcode . SENSING_OF_POS_X , InputType . NUMBER_REAL , { object} ) ;
533+ return new IntermediateInput ( InputOpcode . SENSING_OF_POS_X , InputType . NUMBER , { object} ) ;
534534 case 'y position' :
535- return new IntermediateInput ( InputOpcode . SENSING_OF_POS_Y , InputType . NUMBER_REAL , { object} ) ;
535+ return new IntermediateInput ( InputOpcode . SENSING_OF_POS_Y , InputType . NUMBER , { object} ) ;
536536 case 'direction' :
537537 return new IntermediateInput ( InputOpcode . SENSING_OF_DIRECTION , InputType . NUMBER_REAL , { object} ) ;
538538 case 'costume #' :
539539 return new IntermediateInput ( InputOpcode . SENSING_OF_COSTUME_NUMBER , InputType . NUMBER_POS_REAL , { object} ) ;
540540 case 'costume name' :
541541 return new IntermediateInput ( InputOpcode . SENSING_OF_COSTUME_NAME , InputType . STRING , { object} ) ;
542542 case 'size' :
543- return new IntermediateInput ( InputOpcode . SENSING_OF_SIZE , InputType . NUMBER_POS_REAL , { object} ) ;
543+ return new IntermediateInput ( InputOpcode . SENSING_OF_SIZE , InputType . NUMBER_POS , { object} ) ;
544544 }
545545 }
546546
You can’t perform that action at this time.
0 commit comments