dchat now gets an alert on what jobs have changed in Bureaucratic error (#21214)

* dchat now gets an alert on what jobs have changed in a Bureaucratic Error event

* Update code/modules/events/bureaucratic_error.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
GDN
2023-06-14 21:15:48 +01:00
committed by GitHub
co-authored by Henri215
parent 3112bef850
commit 5022baa988
+4 -2
View File
@@ -33,6 +33,8 @@
if(overflow.type in blacklisted_jobs)
continue
overflow.total_positions = max(overflow.total_positions + random_change, 0)
affected_jobs += "[overflow.title] slot changed by [random_change]."
affected_jobs += "[overflow.title] slot changed by [random_change]"
errors++
log_and_message_admins(affected_jobs.Join("\n"))
log_and_message_admins(affected_jobs.Join(".\n"))
for(var/mob/M as anything in GLOB.dead_mob_list)
to_chat(M, "<span class='deadsay'><b>Bureaucratic Error:</b> The following job slots have changed: [affected_jobs.Join(", ")].</span>")