1
0
Fork 0
forked from Simnation/Main

Update main.lua

This commit is contained in:
Nordi98 2025-08-03 17:39:18 +02:00
parent f6b296d053
commit 5bc2858bce

View file

@ -329,7 +329,7 @@ function PlayMusicAsDJ(title, url, volume)
name = nearestBooth,
coords = Config.DJBooths[nearestBooth].coords
}
}
end
function StopMusicAsDJ()
if not nearestBooth then
@ -348,7 +348,7 @@ function StopMusicAsDJ()
isPlaying = false
currentSong = nil
currentBooth = nil
}
end
function SetVolumeAsDJ(volume)
if not nearestBooth then
@ -372,7 +372,7 @@ function SetVolumeAsDJ(volume)
-- Lokale Variablen aktualisieren
currentVolume = volume
}
end
function CalculateRange(volume)
if not nearestBooth or not Config.DJBooths[nearestBooth] then return 30.0 end