Skip to content

Commit 6ee820b

Browse files
committed
Temporary Mirage fix
1 parent 8e1794f commit 6ee820b

File tree

7 files changed

+24
-8
lines changed

7 files changed

+24
-8
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.4
2+
3+
**Fixes**:
4+
- Temporary fix for this Mirage issue: https://github.com/qwbarch/mirage/issues/183
5+
16
# 1.4.3
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.3 *(LATEST)* | V73 |
68+
| v1.4.4 *(LATEST)* | V73 |
69+
| v1.4.3 | V73 |
6970
| v1.4.2 | V73 |
7071
| v1.4.1 | V73 |
7172
| v1.4.0 | V72 |

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.3</Version>
7+
<Version>1.4.4</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.3</Version>
6+
<Version>1.4.4</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.3 *(LATEST)* | V73 | 1 |
43+
| v1.4.4 *(LATEST)* | V73 | 1 |
44+
| v1.4.3 | V73 | 1 |
4445
| v1.4.2 | V73 | 1 |
4546
| v1.4.1 | V73 | 1 |
4647
| v1.4.0 | V72 | 1 |

Source/Patches/UI/UIPatches.cs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using HarmonyLib;
1+
using System.Collections;
2+
using HarmonyLib;
23
using LCVR.Assets;
34
using LCVR.Managers;
45
using TMPro;
@@ -20,9 +21,17 @@ internal static class UIPatches
2021
[HarmonyPostfix]
2122
private static void OnPreInitMenuShown(PreInitSceneScript __instance)
2223
{
23-
SceneManager.LoadScene("LCVR Init Scene");
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+
}
2433
}
25-
34+
2635
/// <summary>
2736
/// This function runs when the main menu is shown
2837
/// </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.2";
30+
public const string PLUGIN_VERSION = "1.4.4";
3131

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

0 commit comments

Comments
 (0)