From fc3f10b0d9dab218c3a8a0c9ae7198435cc67dff Mon Sep 17 00:00:00 2001 From: Erikos Date: Fri, 17 Jan 2025 01:45:37 +0000 Subject: [PATCH] [FIX] SM monitoring console crash (#27971) * Silly double negatives. * value for coeff + contra reccomendation * simplified logic (thanks funnyman) Co-authored-by: Charlie Nolan Signed-off-by: Erikos --------- Signed-off-by: Erikos Co-authored-by: Charlie Nolan --- code/game/machinery/computer/sm_monitor.dm | 2 +- code/modules/power/engines/supermatter/supermatter.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/computer/sm_monitor.dm b/code/game/machinery/computer/sm_monitor.dm index 051ab8e47d9..535b6601827 100644 --- a/code/game/machinery/computer/sm_monitor.dm +++ b/code/game/machinery/computer/sm_monitor.dm @@ -105,7 +105,7 @@ return for(var/obj/machinery/atmospherics/supermatter_crystal/S in SSair.atmos_machinery) // Delaminating, not within coverage, not on a tile. - if(!(is_station_level(S.z) || is_mining_level(S.z) || atoms_share_level(S, T) || !issimulatedturf(S.loc))) + if(!atoms_share_level(S, T) || !issimulatedturf(S.loc)) continue supermatters.Add(S) diff --git a/code/modules/power/engines/supermatter/supermatter.dm b/code/modules/power/engines/supermatter/supermatter.dm index 030c507cfc2..52660563a0c 100644 --- a/code/modules/power/engines/supermatter/supermatter.dm +++ b/code/modules/power/engines/supermatter/supermatter.dm @@ -143,7 +143,7 @@ /// Refered to as eer on the moniter. This value effects gas output, heat, damage, and radiation. var/power = 0 /// A bonus to rad production equal to EER multiplied by the bonus given by each gas. The bonus gets higher the more gas there is in the chamber. - var/gas_coefficient + var/gas_coefficient = 0 ///Determines the rate of positve change in gas comp values var/gas_change_rate = 0.05