From 6c8becbf21f96f683c485afcada5e44e571f752b Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Tue, 6 Sep 2022 00:48:11 +0200 Subject: Fix gamepath not passed correctly to backend For some reason it wants camelCase variable name even though backend uses snake_case... --- src-ui/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-ui/src') diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts index c4a69554..0562aa0a 100644 --- a/src-ui/src/main.ts +++ b/src-ui/src/main.ts @@ -54,7 +54,7 @@ document.addEventListener("DOMContentLoaded", async function () { // TODO Verify if valid Titanfall2 install location - let is_valid_titanfall2_install = await invoke("verify_install_location", { game_path: selected }) as boolean; + let is_valid_titanfall2_install = await invoke("verify_install_location", { gamePath: selected }) as boolean; if (is_valid_titanfall2_install) { globalState.gamepath = selected; -- cgit v1.2.3