varedit hook no longer no-ops vocal_bark varedits

This commit is contained in:
deathride58
2022-06-18 13:26:29 -04:00
parent 1cea9bad5f
commit b213802346
+2 -2
View File
@@ -228,8 +228,8 @@
set_glide_size(var_value)
. = TRUE
if(NAMEOF(src, vocal_bark))
if(isfile(vocal_bark))
vocal_bark = sound(vocal_bark) //bark() expects vocal_bark to already be a sound datum, for performance reasons. adminbus QoL!
if(isfile(var_value))
vocal_bark = sound(var_value) //bark() expects vocal_bark to already be a sound datum, for performance reasons. adminbus QoL!
. = TRUE
if(!isnull(.))