mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Fixes some broken logs (#88040)
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
|
||||
if("set_note")
|
||||
var/note = strip_html_full(params["note"], MAX_MESSAGE_LEN)
|
||||
investigate_log("[user] has changed the security note of record: \"[target]\" from \"[target.security_note]\" to \"[note]\".")
|
||||
investigate_log("[user] has changed the security note of record: \"[target]\" from \"[target.security_note]\" to \"[note]\".", INVESTIGATE_RECORDS)
|
||||
target.security_note = note
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/atom/proc/investigate_log(message, subject)
|
||||
if(!message || !subject)
|
||||
if(!message)
|
||||
return
|
||||
if(!subject)
|
||||
CRASH("No subject provided for investigate_log")
|
||||
var/F = file("[GLOB.log_directory]/[subject].html")
|
||||
var/source = "[src]"
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
return
|
||||
|
||||
connected_alarm.select_mode(parent.get_creator(), options_map[mode.value])
|
||||
connected_alarm.investigate_log("was turned to [connected_alarm.selected_mode.name] by [parent.get_creator()]")
|
||||
connected_alarm.investigate_log("was turned to [connected_alarm.selected_mode.name] by [parent.get_creator()]", INVESTIGATE_ATMOS)
|
||||
|
||||
/obj/item/circuit_component/air_alarm
|
||||
display_name = "Air Alarm Core Control"
|
||||
|
||||
@@ -690,7 +690,7 @@
|
||||
shielding_powered = !shielding_powered
|
||||
SSair.start_processing_machine(src)
|
||||
message_admins("[ADMIN_LOOKUPFLW(user)] turned [shielding_powered ? "on" : "off"] [wire_pulsed ? "via wire pulse" : ""] the [src] powered shielding.")
|
||||
user.investigate_log("turned [shielding_powered ? "on" : "off"] [wire_pulsed ? "via wire pulse" : ""] the [src] powered shielding.")
|
||||
user.investigate_log("turned [shielding_powered ? "on" : "off"] [wire_pulsed ? "via wire pulse" : ""] the [src] powered shielding.", INVESTIGATE_ATMOS)
|
||||
update_appearance()
|
||||
|
||||
/// Ejects tank from canister, if any
|
||||
@@ -712,7 +712,7 @@
|
||||
suppress_reactions = !suppress_reactions
|
||||
SSair.start_processing_machine(src)
|
||||
message_admins("[ADMIN_LOOKUPFLW(user)] turned [suppress_reactions ? "on" : "off"] [wire_pulsed ? "via wire pulse" : ""] the [src] reaction suppression.")
|
||||
user.investigate_log("turned [suppress_reactions ? "on" : "off"] [wire_pulsed ? "via wire pulse" : ""] the [src] reaction suppression.")
|
||||
user.investigate_log("turned [suppress_reactions ? "on" : "off"] [wire_pulsed ? "via wire pulse" : ""] the [src] reaction suppression.", INVESTIGATE_ATMOS)
|
||||
|
||||
/obj/machinery/portable_atmospherics/canister/proc/recolor(datum/greyscale_modify_menu/menu)
|
||||
set_greyscale(menu.split_colors, menu.config.type)
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
internal_tank.suppress_reactions = !internal_tank.suppress_reactions
|
||||
SSair.start_processing_machine(internal_tank)
|
||||
message_admins("[ADMIN_LOOKUPFLW(usr)] turned [internal_tank.suppress_reactions ? "on" : "off"] the [internal_tank] reaction suppression.")
|
||||
usr.investigate_log("turned [internal_tank.suppress_reactions ? "on" : "off"] the [internal_tank] reaction suppression.")
|
||||
usr.investigate_log("turned [internal_tank.suppress_reactions ? "on" : "off"] the [internal_tank] reaction suppression.", INVESTIGATE_ATMOS)
|
||||
. = TRUE
|
||||
update_appearance()
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
suppress_reactions = !suppress_reactions
|
||||
SSair.start_processing_machine(src)
|
||||
message_admins("[ADMIN_LOOKUPFLW(usr)] turned [suppress_reactions ? "on" : "off"] the [src] reaction suppression.")
|
||||
usr.investigate_log("turned [suppress_reactions ? "on" : "off"] the [src] reaction suppression.")
|
||||
usr.investigate_log("turned [suppress_reactions ? "on" : "off"] the [src] reaction suppression.", INVESTIGATE_ATMOS)
|
||||
. = TRUE
|
||||
update_appearance()
|
||||
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
suppress_reactions = !suppress_reactions
|
||||
SSair.start_processing_machine(src)
|
||||
message_admins("[ADMIN_LOOKUPFLW(usr)] turned [suppress_reactions ? "on" : "off"] the [src] reaction suppression.")
|
||||
usr.investigate_log("turned [suppress_reactions ? "on" : "off"] the [src] reaction suppression.")
|
||||
usr.investigate_log("turned [suppress_reactions ? "on" : "off"] the [src] reaction suppression.", INVESTIGATE_ATMOS)
|
||||
. = TRUE
|
||||
update_appearance()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user