From 2b5a248c95949d2f25a5b4123556318db49d9cbd Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 25 Jul 2021 22:20:30 -0500 Subject: [PATCH] Fix key ID from param util --- scripts/shared/native/gtac.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shared/native/gtac.js b/scripts/shared/native/gtac.js index ae8f77dd..90842352 100644 --- a/scripts/shared/native/gtac.js +++ b/scripts/shared/native/gtac.js @@ -1412,7 +1412,7 @@ function getKeyIdFromParams(params) { //} for(let i in bindableKeys) { - if(bindableKeys[i].indexOf(tempParams.toLowerCase()) != -1) { + if(toLowerCase(bindableKeys[i]) == toLowerCase(tempParams)) { return i; } }