Something went wrong. Try again.
Starship Simulator Controls thoriumsim.com
Something went wrong. Try again.
258 B · 10 lines
TypeScript
at develop
1234567891011export const audioContext = typeof window === "undefined" ? null! : new AudioContext();let resumed = false;if (typeof document !== "undefined") { document.body.onmousemove = () => { if (!resumed) { audioContext.resume(); resumed = true; } };}