mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Recorder no longer says "Skipping Silence" (#23597)
* Removed Skipped Silence * moving conditionals * That is what I meant || Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --------- Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -210,14 +210,10 @@
|
||||
atom_say("End of recording.")
|
||||
break
|
||||
atom_say("[mytape.storedinfo[i]]")
|
||||
if(length(mytape.storedinfo) < i + 1)
|
||||
if(length(mytape.storedinfo) < i + 1 || playsleepseconds > 1.4 SECONDS)
|
||||
playsleepseconds = 1 SECONDS
|
||||
else
|
||||
playsleepseconds = (mytape.timestamp[i + 1] - mytape.timestamp[i]) SECONDS
|
||||
if(playsleepseconds > 1.4 SECONDS)
|
||||
sleep(10)
|
||||
atom_say("Skipping [playsleepseconds / 10] seconds of silence.")
|
||||
playsleepseconds = 1 SECONDS
|
||||
i++
|
||||
|
||||
stop(TRUE)
|
||||
|
||||
Reference in New Issue
Block a user