File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
react_frontend/src/components/visualizers Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -45,19 +45,10 @@ export default function WorldSelector(props) {
4545 window . RoboticsReactComponents . MessageSystem . Loading . showLoading (
4646 "Launching Universe"
4747 ) ;
48-
49- if ( config . zip ) {
50- await window . RoboticsExerciseComponents . commsManager . launchWorld ( {
51- world : config . world ,
52- robot : config . robot ,
53- zip : config . zip
54- } ) ;
55- } else {
56- await window . RoboticsExerciseComponents . commsManager . launchWorld ( {
57- world : config . world ,
58- robot : config . robot ,
59- } ) ;
60- }
48+ await window . RoboticsExerciseComponents . commsManager . launchWorld ( {
49+ world : config . world ,
50+ robot : config . robot ,
51+ } ) ;
6152 await window . RoboticsExerciseComponents . commsManager . prepareVisualization (
6253 { type : config . visualization , file : config . visualization_config_path }
6354 ) ;
You can’t perform that action at this time.
0 commit comments