mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-08 16:31:55 +00: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user