playerscript changes

This commit is contained in:
Aaro Varis
2025-03-24 13:03:13 +02:00
parent 9a468564e8
commit 77a6101e08

View File

@@ -52,13 +52,10 @@ namespace BoneSync.Data
{ {
SyncLogger.Warning("Failed to get physicsRig player scripts!"); SyncLogger.Warning("Failed to get physicsRig player scripts!");
} }
GetHandPoses();
} }
public static void GetHandPoses() public static void GetHandPoses()
{ {
GetPlayerScripts();
// Checks if we already got the hand poses to prevent crashes // Checks if we already got the hand poses to prevent crashes
if (playerHandPoses == null) if (playerHandPoses == null)
CharacterAnimationManager.FetchHandPoseList(out playerHandPoses); // Lets hope this is constant! CharacterAnimationManager.FetchHandPoseList(out playerHandPoses); // Lets hope this is constant!