[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
This commit is contained in:
Time-Green
2023-07-26 19:47:01 +12:00
committed by GitHub
parent 4abf35e4a7
commit b3558f04e9
@@ -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].")