Adds more reasons to explosion logging (#28812)

* explos

* yeah good enough

* shorten that

* use ckey

* forgot this cause

* unfuck it
This commit is contained in:
Contrabang
2025-03-28 18:49:57 +00:00
committed by GitHub
parent c63dc53202
commit fde22d1c43
77 changed files with 120 additions and 117 deletions
+2 -2
View File
@@ -24,10 +24,10 @@
flash = tgui_input_number(user, "Range of Flash", "Flash", -1, min_value = -1)
flames = tgui_input_number(user, "Range of Flames", "Flames", -1, min_value = -1)
/datum/buildmode_mode/boom/handle_click(user, params, obj/object)
/datum/buildmode_mode/boom/handle_click(mob/user, params, obj/object)
var/list/pa = params2list(params)
var/left_click = pa.Find("left")
if(left_click)
log_admin("Build Mode: [key_name(user)] created an explosion at ([object.x],[object.y],[object.z])")
explosion(object, devastation, heavy, light, flash, null, TRUE, flames)
explosion(object, devastation, heavy, light, flash, null, TRUE, flames, cause = "[user.ckey]: Buildmode boom")