Kill unnecessary startup exceptions (#17161)

* Atomization

* dsaf

* Apply suggestions from code review

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>

---------

Co-authored-by: FluffyGhost <FluffyGhost>
Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
Fluffy
2023-08-30 22:36:43 +00:00
committed by GitHub
co-authored by SleepyGemmy FluffyGhost <FluffyGhost>
parent 363f771fa4
commit dc3c5e7868
5 changed files with 60 additions and 0 deletions
@@ -25,6 +25,11 @@ paiicon is the pai icon sprite name
/proc/loadsynths_from_json()
var/list/customsynthsprites = list()
if(!isfile("config/customsynths.json"))
log_config("The file config/customsynths.json was not found, custom synth config will not be loaded.")
return
try
customsynthsprites = json_decode(return_file_text("config/customsynths.json"))
catch(var/exception/ej)