mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-13 17:07:53 +01:00
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:
@@ -64,7 +64,7 @@ GLOBAL_LIST_INIT(custom_items, list())
|
||||
var/list/loaded_items = list()
|
||||
var/item_id = 0
|
||||
try
|
||||
loaded_items = json_decode(return_file_text("config/custom_items.json"))
|
||||
loaded_items = json_decode(file2text("config/custom_items.json"))
|
||||
catch(var/exception/e)
|
||||
log_module_customitems("Failed to load custom_items.json: [e]")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user