Merge pull request #11397 from Baystation12/dev-freeze

Dev freeze
This commit is contained in:
PsiOmegaDelta
2015-10-31 16:43:02 +01:00
2 changed files with 12 additions and 2 deletions

View File

@@ -357,6 +357,17 @@
internals.icon_state = "internal0"
return null
/mob/living/carbon/human/get_breath_from_environment(var/volume_needed=BREATH_VOLUME)
var/datum/gas_mixture/breath = ..()
if(breath)
//exposure to extreme pressures can rupture lungs
var/check_pressure = breath.return_pressure()
if(check_pressure < ONE_ATMOSPHERE / 5 || check_pressure > ONE_ATMOSPHERE * 5)
if(is_lung_ruptured() && prob(5))
rupture_lung()
return breath
/mob/living/carbon/human/handle_breath(datum/gas_mixture/breath)
if(status_flags & GODMODE)

View File

@@ -348,9 +348,8 @@ var/list/solars_list = list()
/obj/machinery/power/solar_control/initialize()
..()
if(!powernet) return
if(!connect_to_network()) return
set_panels(cdir)
connect_to_network()
/obj/machinery/power/solar_control/update_icon()
if(stat & BROKEN)