mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
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:
co-authored by
SleepyGemmy
FluffyGhost <FluffyGhost>
parent
363f771fa4
commit
dc3c5e7868
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user