Skip to content
Snippets Groups Projects
Commit 3b348112 authored by Maximilian Giller's avatar Maximilian Giller
Browse files

Added missing unit conversion

parent 68f2064d
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ export default class SettingsTool extends Tool {
} else if (key === RESIMULATE_KEY) {
graph.restartSimulation();
} else if (key === PHYSICS_DELAY_KEY) {
graph.physicsDelay = value;
graph.physicsDelay = Number(value) * 1000; // Convert seconds to ms
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment