forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
f6b296d053
commit
5bc2858bce
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue