Skip to content

Commit 5b47d35

Browse files
committed
Version 1.29a
Correct key lockout
1 parent 47bb438 commit 5b47d35

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

AGExt/Flight.cs

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4410,21 +4410,24 @@ public void Update()
44104410
}
44114411
}
44124412
errLine = "26";
4413-
foreach (KeyCode KC in ActiveKeys)
4413+
if (InputLockManager.GetControlLock("kOSTerminal") == ControlTypes.None)
44144414
{
4415-
errLine = "27";
4416-
if(Input.GetKeyDown(KC))
4415+
foreach (KeyCode KC in ActiveKeys)
44174416
{
4418-
// print("keydown " + KC);
4419-
for (int i = 1; i <= 250; i = i + 1)
4420-
{
4421-
if (AGXguiKeys[i] == KC)
4417+
errLine = "27";
4418+
if (Input.GetKeyDown(KC))
44224419
{
4423-
//print("Key act for some reason " + i);
4424-
ActivateActionGroupCheckModKeys(i);
4420+
// print("keydown " + KC);
4421+
for (int i = 1; i <= 250; i = i + 1)
4422+
{
4423+
if (AGXguiKeys[i] == KC)
4424+
{
4425+
//print("Key act for some reason " + i);
4426+
ActivateActionGroupCheckModKeys(i);
4427+
}
4428+
}
44254429
}
44264430
}
4427-
}
44284431
}
44294432
errLine = "28";
44304433
//if (!ActiveActionsCalculated)

AGExt/Instantly.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class AGXMainMenu :PartModule
1313
//abandoned module, no longer needed for key rebinding
1414
public void Start()
1515
{
16-
print("AGExt Ver. 1.29 loaded");
16+
print("AGExt Ver. 1.29a loaded");
1717
}
1818

1919
}

0 commit comments

Comments
 (0)