diff --git a/code/WorkInProgress/Mini/atmos_control.dm b/code/WorkInProgress/Mini/atmos_control.dm index b7c80761a9..acca1bf759 100644 --- a/code/WorkInProgress/Mini/atmos_control.dm +++ b/code/WorkInProgress/Mini/atmos_control.dm @@ -39,9 +39,9 @@ dat += "" switch(max(alarm.danger_level, alarm.alarm_area.atmosalm)) if (0) - dat += "" + dat += "" if (1) - dat += "" + dat += "" if (2) dat += "" dat += "[alarm]
" diff --git a/code/WorkInProgress/SkyMarshal/officer_stuff.dm b/code/WorkInProgress/SkyMarshal/officer_stuff.dm index d57106d843..7741a9aa36 100644 --- a/code/WorkInProgress/SkyMarshal/officer_stuff.dm +++ b/code/WorkInProgress/SkyMarshal/officer_stuff.dm @@ -3,13 +3,13 @@ /obj/item/clothing/head/beret/centcom/officer name = "officers beret" - desc = "A black beret adorned with the shield—a silver kite shield with an engraved sword—of the NanoTrasen security forces, announcing to the world that the wearer is a defender of NanoTrasen." + desc = "A black beret adorned with the shield—a silver kite shield with an engraved sword—of the NanoTrasen security forces, announcing to the world that the wearer is a defender of NanoTrasen." icon_state = "centcomofficerberet" flags = FPRINT | TABLEPASS /obj/item/clothing/head/beret/centcom/captain name = "captains beret" - desc = "A white beret adorned with the shield—a cobalt kite shield with an engraved sword—of the NanoTrasen security forces, worn only by those captaining a vessel of the NanoTrasen Navy." + desc = "A white beret adorned with the shield—a cobalt kite shield with an engraved sword—of the NanoTrasen security forces, worn only by those captaining a vessel of the NanoTrasen Navy." icon_state = "centcomcaptain" flags = FPRINT | TABLEPASS diff --git a/code/game/machinery/alarm.dm b/code/game/machinery/alarm.dm index c338a64fbc..e446f6bdb5 100644 --- a/code/game/machinery/alarm.dm +++ b/code/game/machinery/alarm.dm @@ -238,9 +238,9 @@ return 0 proc/get_danger_level(var/current_value, var/list/danger_levels) - if(current_value >= danger_levels[4] || current_value <= danger_levels[1]) + if((current_value >= danger_levels[4] && danger_levels[4] > 0) || current_value <= danger_levels[1]) return 2 - if(current_value >= danger_levels[3] || current_value <= danger_levels[2]) + if((current_value >= danger_levels[3] && danger_levels[3] > 0) || current_value <= danger_levels[2]) return 1 return 0