mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
The shock code for grilles assumed that all grilles have cables connected to them. Fixed that. runtime error: list index out of bounds proc name: electrocute mob (/proc/electrocute_mob) source file: power.dm,453 usr: Brett Prescott (/mob/living/carbon/human) src: null call stack: electrocute mob(Brett Prescott (/mob/living/carbon/human), the power cable (/obj/cable), the grille (/obj/grille), 1) the grille (/obj/grille): shock(Brett Prescott (/mob/living/carbon/human), 70) the grille (/obj/grille): attack hand(Brett Prescott (/mob/living/carbon/human), 1) the grille (/obj/grille): DblClick() the grille (/obj/grille): Click(the floor (97,118,1) (/turf/simulated/floor), "mapwindow.map", "icon-x=16;icon-y=12;left=1;scr...") Brokenriddle (/client): Click(the grille (/obj/grille), the floor (97,118,1) (/turf/simulated/floor), "mapwindow.map", "icon-x=16;icon-y=12;left=1;scr...") git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2306 316c924e-a436-60f5-8080-3fe189b3f50e