Skip to content

Commit a5088c2

Browse files
committed
Fixed misspelling
1 parent 92460b9 commit a5088c2

File tree

2 files changed

+2
-2
lines changed
  • DCS-Input-Command-Injector-Quaggles/DCS-Input-Command-Injector-Quaggles/Scripts/Input

2 files changed

+2
-2
lines changed

DCS-Input-Command-Injector-Quaggles/DCS-Input-Command-Injector-Quaggles/Scripts/Input/Data.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ local function QuagglesInputCommandInjector(deviceGenericName, filename, folder,
602602

603603
-- Merge resulting tables
604604
if statusInj then
605-
if result.axisCommands and resultInj.keyCommands then -- If both exist then join
605+
if result.keyCommands and resultInj.keyCommands then -- If both exist then join
606606
env.join(result.keyCommands, resultInj.keyCommands)
607607
elseif resultInj.keyCommands then -- If just the injected one exists then use it
608608
result.keyCommands = resultInj.keyCommands

Inject.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ local function QuagglesInputCommandInjector(deviceGenericName, filename, folder,
4646

4747
-- Merge resulting tables
4848
if statusInj then
49-
if result.axisCommands and resultInj.keyCommands then -- If both exist then join
49+
if result.keyCommands and resultInj.keyCommands then -- If both exist then join
5050
env.join(result.keyCommands, resultInj.keyCommands)
5151
elseif resultInj.keyCommands then -- If just the injected one exists then use it
5252
result.keyCommands = resultInj.keyCommands

0 commit comments

Comments
 (0)