From 71136fc76b0897295d496f3bcb09ef54934d27de Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 2 Jun 2016 16:04:06 -0300 Subject: [PATCH] Fix add custom AI laws (#18138) --- code/modules/admin/verbs/randomverbs.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 482a450a832..c446f16244a 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -439,8 +439,9 @@ Traitors and the like can also be revived with the previous role mostly intact. var/show_log = alert(src, "Show ion message?", "Message", "Yes", "No") var/announce_ion_laws = (show_log == "Yes" ? 1 : -1) - new /datum/round_event/ion_storm(0, announce_ion_laws, input) - + var/datum/round_event/ion_storm/ion = new(0, announce_ion_laws, input) + ion.start() + feedback_add_details("admin_verb","IONC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_admin_rejuvenate(mob/living/M in mob_list)