Skip to content

Commit

Permalink
Fixed Leaf and Vent bug
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleSmith0905 committed Jul 29, 2021
1 parent a96e2fc commit fe1b3e1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CursedAmongUs/CursedAmongUs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace CursedAmongUs
[BepInDependency(ReactorPlugin.Id)]
public class CursedAmongUs : BasePlugin
{
public const System.String Version = "v0.0.2";
public const System.String Version = "v1.0.0";

public Harmony Harmony { get; } = new Harmony("DevsUs.CusedAmongUs");
public Harmony Harmony { get; } = new Harmony("DevsUs.CursedAmongUs");

public override void Load()
{
Expand Down
4 changes: 2 additions & 2 deletions CursedAmongUs/CursedAmongUs.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>0.0.0</Version>
<Description>သင်၏တည်ရှိမှုကိုမေးခွန်းထုတ်ရန်အတွက်ပြင်ဆင်ထားပါ</Description>
<Version>1.0.1</Version>
<Description>Don't get mad at your friends, get mad at the game.</Description>
<Authors>KyleSmith</Authors>
<Company>Devs-Us</Company>
<Copyright>GNU General Public License v3.0</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion CursedAmongUs/Source/Tasks/Leaf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private static void BeginPostfix(LeafMinigame __instance)
[HarmonyPostfix]
private static void FixedUpdatePostfix(LeafMinigame __instance)
{
__instance.transform.FindChild("Pointer").position = __instance.myController.HoverPosition;
__instance.transform.FindChild("cursor").position = __instance.myController.HoverPosition;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion CursedAmongUs/Source/Tasks/Weapons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private static void BeginPrefix(WeaponsMinigame __instance)
cursor.transform.SetParent(__instance.transform);
cursor.layer = 4;
CircleCollider2D circleCollider2D = cursor.AddComponent<CircleCollider2D>();
circleCollider2D.radius = 0.325f;
circleCollider2D.radius = 0.25f;
WeaponsCustom weaponsCustom = cursor.AddComponent<WeaponsCustom>();
weaponsCustom.weaponsMinigame = __instance;
}
Expand Down

0 comments on commit fe1b3e1

Please sign in to comment.