Skip to content

Commit

Permalink
Removed unneeded prefix var
Browse files Browse the repository at this point in the history
  • Loading branch information
MistaOmega committed Nov 22, 2024
1 parent b69265b commit 495287f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public sealed partial class GotoConsoleCommand_GotoPosition_Patch : NitroxPatch,
{
public static readonly MethodInfo TARGET_METHOD = Reflect.Method((GotoConsoleCommand t) => t.GotoPosition(default, default));

public static bool Prefix(Vector3 position, bool gotoImmediate = false)
public static bool Prefix(Vector3 position)
{
Vehicle currentMountedVehicle = Player.main.currentMountedVehicle;
if (!currentMountedVehicle)
Expand Down

0 comments on commit 495287f

Please sign in to comment.