From c466f0e98ed3c3cac920dc908e08f36ac16213d0 Mon Sep 17 00:00:00 2001 From: Birdtalon Date: Fri, 23 Mar 2018 18:32:58 +0000 Subject: [PATCH] adds admin notification for black powder reaction --- code/modules/reagents/chemistry/recipes/pyrotechnics.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/recipes/pyrotechnics.dm b/code/modules/reagents/chemistry/recipes/pyrotechnics.dm index 74a9b740c62..860234fd72d 100644 --- a/code/modules/reagents/chemistry/recipes/pyrotechnics.dm +++ b/code/modules/reagents/chemistry/recipes/pyrotechnics.dm @@ -129,10 +129,11 @@ mix_sound = null /datum/chemical_reaction/blackpowder_explosion/on_reaction(datum/reagents/holder, created_volume) - var/location = get_turf(holder.my_atom) + var/turf/location = get_turf(holder.my_atom) var/datum/effect_system/spark_spread/s = new /datum/effect_system/spark_spread s.set_up(2, 1, location) s.start() + message_admins("Black Powder explosion imminment at [location.x] [location.y] [location.z] [ADMIN_JMP(location)] with volume [created_volume]") sleep(rand(20,30)) blackpowder_detonate(holder, created_volume)