We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a14d54 commit 51b53d7Copy full SHA for 51b53d7
1 file changed
scripts/hud/cc.ts
@@ -255,8 +255,8 @@ class CloseCaptioning {
255
{
256
bLowPriority: false,
257
bSFX: false,
258
- nNoRepeat: 0,
259
- nDelay: 0,
+ flNoRepeat: 0,
+ flDelay: 0,
260
flLifetimeOverride: -1.0,
261
text: `[MISSING] ${token}`,
262
options: new Map<string, string>()
@@ -282,6 +282,7 @@ class CloseCaptioning {
282
});
283
$.RegisterForUnhandledEvent('MapLoaded', () => {
284
this.wipeCaptions();
285
+ ClosedCaptionsAPI.SetCaptioningExpiryMethod( CloseCaptioningExpiryMethod.STACK );
286
287
288
this.updateStyle();
0 commit comments