Skip to content

Commit d07fc35

Browse files
committed
The nuclear Additive option
1 parent 6ee820b commit d07fc35

File tree

9 files changed

+18
-20
lines changed

9 files changed

+18
-20
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.5
2+
3+
**Fixes**:
4+
- First it's Mirage, now it's LLL, this time we go nuclear (additive scene load on init scene)
5+
16
# 1.4.4
27

38
**Fixes**:

Docs/Thunderstore/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ 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.4 *(LATEST)* | V73 |
68+
| v1.4.5 *(LATEST)* | V73 |
69+
| v1.4.4 | V73 |
6970
| v1.4.3 | V73 |
7071
| v1.4.2 | V73 |
7172
| v1.4.1 | V73 |

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.4</Version>
7+
<Version>1.4.5</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.4</Version>
6+
<Version>1.4.5</Version>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<LangVersion>12.0</LangVersion>
99
<Title>LCVR.Preload</Title>

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ 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.4 *(LATEST)* | V73 | 1 |
43+
| v1.4.5 *(LATEST)* | V73 | 1 |
44+
| v1.4.4 | V73 | 1 |
4445
| v1.4.3 | V73 | 1 |
4546
| v1.4.2 | V73 | 1 |
4647
| v1.4.1 | V73 | 1 |

Source/Managers/VRSession.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
using System;
2-
using System.Collections;
1+
using System.Collections;
32
using HarmonyLib;
43
using LCVR.Assets;
54
using LCVR.Physics.Interactions;
65
using LCVR.UI;
76
using Microsoft.MixedReality.Toolkit.Experimental.UI;
87
using System.Collections.Generic;
98
using System.Linq;
10-
using GameNetcodeStuff;
119
using LCVR.Physics.Interactions.Car;
1210
using LCVR.Player;
1311
using LCVR.Rendering;

Source/Patches/UI/UIPatches.cs

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using System.Collections;
2-
using HarmonyLib;
1+
using HarmonyLib;
32
using LCVR.Assets;
43
using LCVR.Managers;
54
using TMPro;
65
using UnityEngine;
6+
using UnityEngine.EventSystems;
77
using UnityEngine.SceneManagement;
88
using UnityEngine.UI;
99
using UnityEngine.XR.Interaction.Toolkit.UI;
@@ -21,15 +21,9 @@ internal static class UIPatches
2121
[HarmonyPostfix]
2222
private static void OnPreInitMenuShown(PreInitSceneScript __instance)
2323
{
24-
__instance.StartCoroutine(LoadSceneDelayed());
25-
return;
26-
27-
// Delay loading of init scene to allow mods that use PreInitSceneScript.Start as an entrypoint to load
28-
static IEnumerator LoadSceneDelayed()
29-
{
30-
yield return null;
31-
SceneManager.LoadSceneAsync("LCVR Init Scene");
32-
}
24+
Object.FindObjectOfType<EventSystem>().gameObject.SetActive(false);
25+
26+
SceneManager.LoadSceneAsync("LCVR Init Scene", LoadSceneMode.Additive);
3327
}
3428

3529
/// <summary>

Source/Plugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class Plugin : BaseUnityPlugin
2727
{
2828
public const string PLUGIN_GUID = "io.daxcess.lcvr";
2929
public const string PLUGIN_NAME = "LCVR";
30-
public const string PLUGIN_VERSION = "1.4.4";
30+
public const string PLUGIN_VERSION = "1.4.5";
3131

3232
#if DEBUG
3333
private const string SKIP_CHECKSUM_VAR = $"--lcvr-skip-checksum={PLUGIN_VERSION}-dev";

Source/UI/Spectating/SpectatingMenu.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System.Collections.Generic;
22
using System.Diagnostics.CodeAnalysis;
3-
using System.Linq;
43
using LCVR.Managers;
54
using TMPro;
65
using UnityEngine;

0 commit comments

Comments
 (0)