Replaces return_file_text -> file2text (#21849)

Very ancient, decrepit proc that is somehow still used. Got rid of it in
favor of byond's proc, which has been around long enough there isn't a
version I can cite for it.

No user facing changes.
This commit is contained in:
Cody Brittain
2026-02-14 03:51:16 -05:00
committed by GitHub
parent 04c8e9e78c
commit 3ff03b6dae
6 changed files with 5 additions and 19 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ var/list/whitelist_jobconfig = list()
if(fexists("config/whitelist_jobconfig.json"))
LOG_DEBUG("Whitelist JobConfig: Loading from json")
try
whitelist_jobconfig = json_decode(return_file_text("config/whitelist_jobconfig.json"))
whitelist_jobconfig = json_decode(file2text("config/whitelist_jobconfig.json"))
catch(var/exception/e)
LOG_DEBUG("Whitelist JobConfig: Failed to load whitelist_jobconfig.json: [e]")