mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-05 11:29:23 +00:00
Better player rotation on unragdoll
Blame @kafeijao for this
This commit is contained in:
parent
171f129039
commit
d537cab9ba
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ namespace ml_prm
|
||||||
{
|
{
|
||||||
if(CanUnragdoll())
|
if(CanUnragdoll())
|
||||||
{
|
{
|
||||||
BetterBetterCharacterController.Instance.TeleportPlayerTo(m_puppetReferences.hips.position, PlayerSetup.Instance.transform.rotation.eulerAngles, false, false);
|
BetterBetterCharacterController.Instance.TeleportPlayerTo(m_puppetReferences.hips.position, PlayerSetup.Instance.GetPlayerRotation().eulerAngles, false, false);
|
||||||
TryRestoreMovement();
|
TryRestoreMovement();
|
||||||
if(!Utils.IsWorldSafe())
|
if(!Utils.IsWorldSafe())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue