Skip to content

Commit 045b48c

Browse files
committed
Input system hotfix
1 parent ad33111 commit 045b48c

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 1.4.3
2+
3+
**Fixes**:
4+
- Fixed V73 input system behaving differently breaking the binding system
5+
16
# 1.4.2
27

38
**Fixes**:

Docs/Thunderstore/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ Here is a list of LCVR versions and which version(s) of Lethal Company it suppor
6565

6666
| LCVR | Lethal Company |
6767
|-------------------|-------------------|
68-
| v1.4.1 *(LATEST)* | V73 |
68+
| v1.4.3 *(LATEST)* | V73 |
69+
| v1.4.2 | V73 |
70+
| v1.4.1 | V73 |
6971
| v1.4.0 | V72 |
7072
| v1.3.10 | V64 - V69.1 |
7173
| v1.3.9 | V64 - V69.1 |

LCVR.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<AssemblyName>LCVR</AssemblyName>
66
<Description>Collecting Scrap in VR</Description>
7-
<Version>1.4.2</Version>
7+
<Version>1.4.3</Version>
88
<Authors>DaXcess</Authors>
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1010
<LangVersion>12.0</LangVersion>

Preloader/LCVR.Preload.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>LCVR Preloader</Description>
55
<Authors>DaXcess</Authors>
6-
<Version>1.4.2</Version>
6+
<Version>1.4.3</Version>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<LangVersion>12.0</LangVersion>
99
<Title>LCVR.Preload</Title>

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ Here is a list of LCVR versions and which version(s) of Lethal Company it suppor
4040

4141
| LCVR | Lethal Company | [Configuration version](Docs/Configuration/README.md) |
4242
|-------------------|-------------------|-------------------------------------------------------|
43-
| v1.4.1 *(LATEST)* | V73 | 1 |
43+
| v1.4.3 *(LATEST)* | V73 | 1 |
44+
| v1.4.2 | V73 | 1 |
45+
| v1.4.1 | V73 | 1 |
4446
| v1.4.0 | V72 | 1 |
4547
| v1.3.10 | V64 - V69.1 | *N/A* |
4648
| v1.3.9 | V64 - V69.1 | *N/A* |

Source/Patches/InputPatches.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@ internal static void OnCreateSettings(IngamePlayerSettings __instance)
2424
var playerInput = __instance.playerInput;
2525

2626
originalInputActions = playerInput.actions;
27-
27+
28+
// We have to set these two values to make sure the `actions` assignment doesn't make a copy which breaks rebinding
29+
playerInput.enabled = false;
30+
playerInput.m_Actions = null;
31+
2832
playerInput.actions = AssetManager.VRActions;
2933
playerInput.defaultActionMap = "Movement";
3034
playerInput.neverAutoSwitchControlSchemes = false;
3135
playerInput.notificationBehavior = PlayerNotifications.InvokeCSharpEvents;
32-
36+
3337
// Re-enable player input because otherwise it's stuck at no devices in some cases
34-
playerInput.enabled = false;
3538
playerInput.enabled = true;
3639
}
3740

0 commit comments

Comments
 (0)