Skip to content

Commit 9b6c7b4

Browse files
committed
Remove unnecessary addition to pause menu
1 parent f42234c commit 9b6c7b4

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

OneShot/Main.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,18 @@ public class Main : BaseUnityPlugin
1010
{
1111
public const string ModName = "OneShot";
1212
public const string ModAuthor = "Septikai";
13-
public const string ModVersion = "1.1.0";
13+
public const string ModVersion = "1.1.1";
1414
private const string ModGUID = "me.septikai.OneShot";
1515
internal Harmony Harmony;
1616

1717
internal void Awake()
1818
{
19-
// Creating new harmony instance
2019
Harmony = new Harmony(ModGUID);
2120

22-
// Applying patches
2321
Harmony.PatchAll();
2422
Logger.LogInfo($"{ModName} successfully loaded! Made by {ModAuthor}");
2523
}
2624
}
27-
28-
[HarmonyPatch(typeof(VersionNumberTextMesh), nameof(VersionNumberTextMesh.Start))]
29-
public class VersionNumberTextMeshPatch
30-
{
31-
public static void Postfix(VersionNumberTextMesh __instance)
32-
{
33-
__instance.textMesh.text += $"\n<color=red>{Main.ModName} v{Main.ModVersion} by {Main.ModAuthor}</color>";
34-
}
35-
}
3625

3726
[HarmonyPatch(typeof(Weapon), nameof(Weapon.ammo), MethodType.Setter)]
3827
public class AmmoPatchSetter

0 commit comments

Comments
 (0)