Configuration Controller (#7857)

This commit is contained in:
Selis
2024-04-05 07:44:20 +02:00
committed by GitHub
parent c542e3bac0
commit e1a987c25c
235 changed files with 3294 additions and 989 deletions
+2 -2
View File
@@ -117,7 +117,7 @@ var/list/sounds_cache = list()
/proc/web_sound(mob/user, input, credit)
if(!check_rights(R_SOUNDS))
return
var/ytdl = config.invoke_youtubedl
var/ytdl = CONFIG_GET(string/invoke_youtubedl) // CHOMPEdit
if(!ytdl)
to_chat(user, "<span class='boldwarning'>Youtube-dl was not configured, action unavailable</span>", confidential = TRUE) //Check config.txt for the INVOKE_YOUTUBEDL value
return
@@ -218,7 +218,7 @@ var/list/sounds_cache = list()
if(!check_rights(R_SOUNDS))
return
var/ytdl = config.invoke_youtubedl
var/ytdl = CONFIG_GET(string/invoke_youtubedl) // CHOMPEdit
if(!ytdl)
to_chat(src, "<span class='boldwarning'>Youtube-dl was not configured, action unavailable</span>", confidential = TRUE) //Check config.txt for the INVOKE_YOUTUBEDL value
return