mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Fixes the world >> "no sound" issue
This commit is contained in:
@@ -411,7 +411,6 @@
|
|||||||
if(istext(ID.data) && isnum(vol.data) && isnum(frequency.data))
|
if(istext(ID.data) && isnum(vol.data) && isnum(frequency.data))
|
||||||
var/selected_sound = sounds[ID.data]
|
var/selected_sound = sounds[ID.data]
|
||||||
if(!selected_sound)
|
if(!selected_sound)
|
||||||
world << "No sound"
|
|
||||||
return
|
return
|
||||||
vol.data = Clamp(vol.data, 0, 100)
|
vol.data = Clamp(vol.data, 0, 100)
|
||||||
frequency.data = round(Clamp(frequency.data, 0, 1))
|
frequency.data = round(Clamp(frequency.data, 0, 1))
|
||||||
|
|||||||
Reference in New Issue
Block a user