Skip to content

Commit

Permalink
Fixes size
Browse files Browse the repository at this point in the history
  • Loading branch information
Watermelon914 authored and Watermelon914 committed Sep 9, 2024
1 parent 62cfe88 commit bf6d44d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/controllers/subsystem/profiler.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ SUBSYSTEM_DEF(profiler)

var/datum/discord_embed/embed = new()
embed.title = "Profile of Round #[GLOB.round_id] - Highest Overtiming Procs"
embed.fields = list()
for(var/i in 1 to 10)
var/list/entry = data[i]
embed.description += "### [i] - [entry["name"]]\n**Overtime:** [entry["over"]]\n**Self Cost:** [entry["self"]]\n**Total Cost:** [entry["total"]]\n**Calls:** [entry["calls"]]\n"
embed.fields[entry["name"]] = "**Overtime:** [entry["over"]], **Self Cost:** [entry["self"]], **Total Cost:** [entry["total"]], **Calls:** [entry["calls"]]"
send2webhook(embed, CONFIG_GET(string/profiler_webhook_url))

#undef PROFILER_FILENAME
Expand Down

0 comments on commit bf6d44d

Please sign in to comment.