Skip to content

Commit

Permalink
fix(extra/patches): fix values not being reset on server disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
AvarianKnight committed Jun 24, 2023
1 parent a017417 commit 3610606
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -62,6 +62,7 @@ static HookFunction hookFunction([]()

OnKillNetworkDone.Connect([]()
{
se::ScopedPrincipal principalScopeInternal(se::Principal{ "system.internal" });
enableFlyThroughWindscreen.GetHelper()->SetValue("false");
enablePlayerRagdollOnCollision.GetHelper()->SetValue("false");
enablePlayerJumpRagdollControl.GetHelper()->SetValue("false");
Expand Down

0 comments on commit 3610606

Please sign in to comment.