1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-23 23:46:55 +00:00
CC-Tweaked/src/main
Jonathan Coates 8a1067940d
Account for the game being paused when tracking sound progress
When the game is paused in SSP world, speakers are not ticked. However,
System.nanoTime() continues to increase, which means the next tick
speakers believe there has been a big jump and so schedule a bunch of
extra audio.

To avoid this, we keep track of how long the game has been paused offset
nanoTime by that amount.

Fixes #994
2021-12-19 16:29:06 +00:00
..
java/dan200/computercraft Account for the game being paused when tracking sound progress 2021-12-19 16:29:06 +00:00
resources Add arbitrary audio support to speakers (#982) 2021-12-13 22:56:59 +00:00