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-31 00:36:43 +02:00
committed by GitHub
parent 363f771fa4
commit dc3c5e7868
5 changed files with 60 additions and 0 deletions

View File

@@ -57,6 +57,10 @@ var/list/forum_groupids_to_ranks = list()
admin_ranks.Cut()
forum_groupids_to_ranks.Cut()
if(!isfile(rank_file))
log_config("The file [rank_file] does not exist, unable to load the admin ranks.")
return
var/list/data = json_decode(file2text(rank_file))
for (var/list/group in data)