Skip to content

Commit

Permalink
fix simulator options
Browse files Browse the repository at this point in the history
  • Loading branch information
s5suzuki committed Dec 18, 2024
1 parent b19a8a5 commit 68b9225
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions simulator/src/simulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ impl Simulator {
let rx_buf = Arc::new(RwLock::default());
let server = Server::new(
&runtime,
8080,
true,
state.port,
state.lightweight,
rx_buf.clone(),
event_loop.create_proxy(),
)?;
Expand Down
7 changes: 3 additions & 4 deletions src/lib/UI/Simulator.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@
"-p",
simulatorOptions.port.toString(),
"-v",
simulatorOptions.vsync ? "true" : "false",
simulatorOptions.vsync.toString(),
"-s",
setting_file,
"--setting_dir",
appConfigDirPath,
"--lightweight",
simulatorOptions.lightweight.toString(),
];
if (simulatorOptions.lightweight) {
args.push("--lightweight");
}
command = simulatorOptions.unity
? Command.sidecar("simulator-unity", args)
: Command.sidecar("simulator", args);
Expand Down

0 comments on commit 68b9225

Please sign in to comment.