Skip to content

Commit 7a53532

Browse files
authored
Revert "Prepare custom universes"
1 parent d0b2d8f commit 7a53532

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

react_frontend/src/components/visualizers/WorldSelector.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff 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
);

0 commit comments

Comments
 (0)