Skip to content

Commit

Permalink
No need for static method
Browse files Browse the repository at this point in the history
Did a quick fix
  • Loading branch information
seraphimrisen committed May 23, 2020
1 parent e93dd54 commit 97bed64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions NitrogenMod/Patchers/NitroLevPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class NitroDamagePatcher
private static bool decompressionVehicles = false;

private static float damageScaler = 1f;
private static float rpgScaler = 1f;
public static float rpgScaler = 1f; // Set this up for the RPG mod to allow "leveling up"

[HarmonyPrefix]
public static bool Prefix (ref NitrogenLevel __instance)
Expand Down Expand Up @@ -95,11 +95,6 @@ public static void SetDecomVeh(bool val)
decompressionVehicles = val;
}

public static void AdjustRPGScaler(float val)
{
rpgScaler = val;
}

private static void HUDController(NitrogenLevel nitrogenInstance)
{
if (_cachedActive)
Expand Down
Binary file modified QMods/NitrogenMod/NitrogenMod.dll
Binary file not shown.

0 comments on commit 97bed64

Please sign in to comment.