diff --git a/code/ATMOSPHERICS/components/binary_devices/pump.dm b/code/ATMOSPHERICS/components/binary_devices/pump.dm index 9044fdb8ff..ed38fd9345 100644 --- a/code/ATMOSPHERICS/components/binary_devices/pump.dm +++ b/code/ATMOSPHERICS/components/binary_devices/pump.dm @@ -157,6 +157,7 @@ obj/machinery/atmospherics/binary/pump return Topic(href,href_list) + if(..()) return if(href_list["power"]) on = !on if(href_list["set_press"]) diff --git a/code/ATMOSPHERICS/components/trinary_devices/mixer.dm b/code/ATMOSPHERICS/components/trinary_devices/mixer.dm index 801b8bf83f..f480b26708 100644 --- a/code/ATMOSPHERICS/components/trinary_devices/mixer.dm +++ b/code/ATMOSPHERICS/components/trinary_devices/mixer.dm @@ -137,6 +137,7 @@ obj/machinery/atmospherics/trinary/mixer return Topic(href,href_list) + if(..()) return if(href_list["power"]) on = !on if(href_list["set_press"]) diff --git a/code/datums/helper_datums/tension.dm b/code/datums/helper_datums/tension.dm index 6744127c50..9b9830738f 100644 --- a/code/datums/helper_datums/tension.dm +++ b/code/datums/helper_datums/tension.dm @@ -232,9 +232,18 @@ var/global/datum/tension/tension_master Topic(href, href_list) + if(!usr || !usr.client) + return //This shouldnt happen + + if(!usr.client.holder) + message_admins("\red [key_name(usr)] tried to use the tensioner without authorization.") + log_admin("[key_name(usr)] tried to use the tensioner without authorization.") + return + log_admin("[key_name(usr)] used a tensioner override. The override was [href]") message_admins("[key_name(usr)] used a tensioner override. The override was [href]") + if(href_list["addScore"]) score += 50000 diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 5baa7730f6..e6fd607112 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -287,6 +287,13 @@ datum/mind usr << browse(out, "window=edit_memory[src]") Topic(href, href_list) + if(!usr || !usr.client) + return + + if(!usr.client.holder) + message_admins("\red [key_name(usr)] tried to access [current]'s mind without authorization.") + log_admin("[key_name(usr)] tried to access [current]'s mind without authorization.") + return if (href_list["role_edit"]) var/new_role = input("Select new role", "Assigned role", assigned_role) as null|anything in get_all_jobs() diff --git a/code/game/machinery/atmoalter/canister.dm b/code/game/machinery/atmoalter/canister.dm index 83ca41f581..1e5097be5e 100644 --- a/code/game/machinery/atmoalter/canister.dm +++ b/code/game/machinery/atmoalter/canister.dm @@ -219,9 +219,8 @@ Release Pressure: -