style rules

This commit is contained in:
nelle 2024-08-12 01:17:24 -06:00
parent 9571afeef4
commit c8b03ca07f

View file

@ -1,11 +1,11 @@
// Sound effects // Sound effects
function PlaySound(soundobj) { function PlaySound(soundobj) {
var thissound = document.getElementById(soundobj); const thissound = document.getElementById(soundobj);
thissound.play(); thissound.play();
} }
function StopSound(soundobj) { function StopSound(soundobj) {
var thissound = document.getElementById(soundobj); const thissound = document.getElementById(soundobj);
thissound.pause(); thissound.pause();
thissound.currentTime = 0; thissound.currentTime = 0;
} }