diff --git a/code/game/turfs/closed/wall/window_frames.dm b/code/game/turfs/closed/wall/window_frames.dm index 4e4ce3eae5d25..ef30b96821b7c 100644 --- a/code/game/turfs/closed/wall/window_frames.dm +++ b/code/game/turfs/closed/wall/window_frames.dm @@ -66,6 +66,8 @@ ///Gives the user a shock if they get unlucky (Based on shock chance) /obj/structure/window_frame/proc/try_shock(mob/user, shock_chance) + var/turf/my_turf = get_turf(src) + var/obj/structure/cable/underlaying_cable = my_turf.get_cable_node() if(!has_grille) // no grille? dont shock. return FALSE if(!underlaying_cable) @@ -74,8 +76,6 @@ return FALSE if(!in_range(src, user))//To prevent TK and mech users from getting shocked return FALSE - var/turf/my_turf = get_turf(src) - var/obj/structure/cable/underlaying_cable = my_turf.get_cable_node() if(electrocute_mob(user, underlaying_cable, src, 1, TRUE)) var/datum/effect_system/spark_spread/spark_effect = new /datum/effect_system/spark_spread spark_effect.set_up(3, 1, src) diff --git a/icons/obj/radio.dmi b/icons/obj/radio.dmi index 3eca2101bdda7..e2e6c7097b0d6 100644 Binary files a/icons/obj/radio.dmi and b/icons/obj/radio.dmi differ