mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
fix Voice.LaughterScore not being hooked up (#3464)
This commit is contained in:
@@ -55,7 +55,7 @@ public class Voice : Component
|
||||
/// <summary>
|
||||
/// Laughter score for the current audio frame, between 0 and 1
|
||||
/// </summary>
|
||||
public float LaughterScore { get; private set; }
|
||||
public float LaughterScore => sound.IsValid() ? sound.LipSync.LaughterScore : 0;
|
||||
|
||||
private bool recording = false;
|
||||
private SoundStream soundStream;
|
||||
|
||||
Reference in New Issue
Block a user