Skip to content

Commit 2d58fe1

Browse files
authored
Merge pull request #1 from Ethirix/Fixes/DebugConfigIgnored
Fixed Debug Config
2 parents 6bded79 + 51ea95c commit 2d58fe1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GTAV-Ragdoll-Mod/Main.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ private void OnTick(object sender, EventArgs e)
4242
|| Function.Call<bool>(Hash.IS_PED_IN_ANY_VEHICLE, Game.Player.Character, true))
4343
&& _isSupposedToBeRagdolled)
4444
{
45-
Notification.Show("Caught ragdoll attempt?");
45+
ThrowNotification("Caught ragdoll attempt?");
4646
_isSupposedToBeRagdolled = false;
4747
}
4848
}
@@ -85,13 +85,13 @@ private void OnKeyDown(object sender, KeyEventArgs key)
8585
&& !Game.Player.Character.IsDead)
8686
{
8787
_runRagdoll = true;
88-
Notification.Show("Keybind passed");
88+
ThrowNotification("Keybind passed");
8989
}
9090
else if (Function.Call<bool>(Hash.IS_CUTSCENE_ACTIVE)
9191
|| Function.Call<bool>(Hash.IS_PED_IN_ANY_VEHICLE, Game.Player.Character, true)
9292
|| Game.Player.Character.IsDead)
9393
{
94-
Notification.Show("Keybind failed");
94+
ThrowNotification("Keybind failed");
9595
}
9696
}
9797

0 commit comments

Comments
 (0)