diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 9f0319c84af..a2af5d5f4c6 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -1009,7 +1009,7 @@ proc/get_mob_with_client_list() else if(zone == "l_foot") return "left foot" else if(zone == "r_foot") return "right foot" else return zone - + /* Gets the turf this atom's *ICON* appears to inhabit @@ -1222,7 +1222,7 @@ var/global/list/common_tools = list( //check if mob is lying down on something we can operate him on. /proc/can_operate(mob/living/carbon/M) - return (locate(/obj/machinery/optable, M.loc) && M.resting) || \ + return (locate(/obj/machinery/optable, M.loc) && (M.lying || M.resting)) || \ (locate(/obj/structure/stool/bed/roller, M.loc) && \ (M.buckled || M.lying || M.weakened || M.stunned || M.paralysis || M.sleeping || M.stat)) && prob(75) || \ (locate(/obj/structure/table/, M.loc) && \ @@ -1819,4 +1819,4 @@ var/global/list/g_fancy_list_of_types = null var/num = pick(num_sample) num_sample -= num result += (1 << num) - return result \ No newline at end of file + return result