[FIX] SM monitoring console crash (#27971)

* Silly double negatives.

* value for coeff + contra reccomendation

* simplified logic (thanks funnyman)

Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>
Signed-off-by: Erikos <Erikos66@outlook.com>

---------

Signed-off-by: Erikos <Erikos66@outlook.com>
Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>
This commit is contained in:
Erikos
2025-01-17 01:45:37 +00:00
committed by GitHub
co-authored by Charlie Nolan
parent 166b1d5128
commit fc3f10b0d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
@@ -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