diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-06 00:48:11 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-06 00:48:11 +0200 |
commit | 6c8becbf21f96f683c485afcada5e44e571f752b (patch) | |
tree | 2c5328ce8a46eb3bcad1a0076673bfb416aa6a34 /src-ui/src | |
parent | 4b439143bd326d01c6613f3e620e786aa919a3c1 (diff) | |
download | FlightCore-6c8becbf21f96f683c485afcada5e44e571f752b.tar.gz FlightCore-6c8becbf21f96f683c485afcada5e44e571f752b.zip |
Fix gamepath not passed correctly to backend
For some reason it wants camelCase variable name even though backend
uses snake_case...
Diffstat (limited to 'src-ui/src')
-rw-r--r-- | src-ui/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; |