From 6cc02b58ccbd79ed776dab9eaa42f36086d0971a Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Sun, 23 Oct 2022 13:23:35 -0400 Subject: [PATCH] Fix runtimes caused by proc signature change. (#19464) --- code/datums/spells/knock.dm | 7 ++++++- code/modules/admin/verbs/randomverbs.dm | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/code/datums/spells/knock.dm b/code/datums/spells/knock.dm index 162598f8849..5e1c8eb798c 100644 --- a/code/datums/spells/knock.dm +++ b/code/datums/spells/knock.dm @@ -62,7 +62,12 @@ if(is_station_level(A.z)) A.req_access = list() A.req_one_access = list() - GLOB.command_announcement.Announce("We have removed all access requirements on your station's airlocks. You can thank us later!", "Greetings!", 'sound/misc/notice2.ogg', , , "Space Wizard Federation Message") + GLOB.command_announcement.Announce( + message = "We have removed all access requirements on your station's airlocks. You can thank us later!", + new_title = "Greetings!", + new_sound = 'sound/misc/notice2.ogg', + from = "Space Wizard Federation Message" + ) else ..() return diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index c9feeab4ea9..866707361b5 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -640,7 +640,12 @@ Traitors and the like can also be revived with the previous role mostly intact. if("Yes") var/beepsound = input(usr, "What sound should the announcement make?", "Announcement Sound", "") as anything in MsgSound - GLOB.command_announcement.Announce(input, customname, MsgSound[beepsound], , , type) + GLOB.command_announcement.Announce( + message = input, + new_title = customname, + new_sound = MsgSound[beepsound], + from = type + ) print_command_report(input, customname) if("No") //same thing as the blob stuff - it's not public, so it's classified, dammit