[MIRROR] [NO-GBP] Changing shuttle events now alerts admins [MDB IGNORE] (#22688)

* [NO-GBP] Changing shuttle events now alerts admins (#76939)

If an admin forces 10 alien queen shuttle events, you'd probably want to
alert the other admins. Previously this just put it in the admin log
without telling anyone, but it's probably more fitting to just pop it in
asay for how infrequent it is and considering forcing other events does
it too

🆑
admin: Changing shuttle events now alerts admins
/🆑

Thanks to @ Rex9001 for calling it out

* [NO-GBP] Changing shuttle events now alerts admins

---------

Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-07-26 09:53:16 +02:00
committed by GitHub
parent 87f6aeabb9
commit 8bc6e2530a
@@ -31,12 +31,12 @@
if(result == "Clear")
port.event_list.Cut()
log_admin("[key_name_admin(usr)] has cleared the shuttle events on: [port]")
message_admins("[key_name_admin(usr)] has cleared the shuttle events on: [port]")
else if(options[result])
var/typepath = options[result]
if(typepath in active)
port.event_list.Remove(active[options[result]])
log_admin("[key_name_admin(usr)] has removed '[active[result]]' from [port].")
message_admins("[key_name_admin(usr)] has removed '[active[result]]' from [port].")
else
port.event_list.Add(new typepath (port))
log_admin("[key_name_admin(usr)] has added '[typepath]' to [port].")
message_admins("[key_name_admin(usr)] has added '[typepath]' to [port].")