Merge pull request #2744 from Spamcat/bef

fixes
This commit is contained in:
Mloc
2013-05-11 02:16:47 -07:00
2 changed files with 12 additions and 11 deletions

View File

@@ -131,7 +131,7 @@
return return
var/turf/simulated/location = loc var/turf/simulated/location = loc
ASSERT(istype(location)) if(!istype(location)) return//returns if loc is not simulated
var/datum/gas_mixture/environment = location.return_air() var/datum/gas_mixture/environment = location.return_air()
var/partial_pressure = R_IDEAL_GAS_EQUATION*environment.temperature/environment.volume var/partial_pressure = R_IDEAL_GAS_EQUATION*environment.temperature/environment.volume

View File

@@ -111,8 +111,7 @@
/obj/mecha/working/ripley/attackby(obj/item/weapon/W as obj, mob/user as mob) /obj/mecha/working/ripley/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(istype(W, /obj/item/weapon/fluff/sven_fjeltson_1))//this shit broke ripleys
if(istype(W, /obj/item/weapon/fluff/sven_fjeltson_1))
src.icon_state = "earth" src.icon_state = "earth"
src.initial_icon = "earth" src.initial_icon = "earth"
src.name = "APLU \"Strike the Earth!\"" src.name = "APLU \"Strike the Earth!\""
@@ -121,3 +120,5 @@
user.drop_item() user.drop_item()
del(W) del(W)
return return
else
..()