Stack of runtime error fixes.

Didn't feel like digging into the DNA code to find the cause of one of the errors I got sent, if anyone feels like taking a crack at it:

runtime error: list index out of bounds
proc name: updateappearance (/proc/updateappearance)
  source file: dna.dm,257
  usr: Walter Bishop (/mob/living/carbon/human)
  src: null
  call stack:
updateappearance(Walter Bishop (/mob/living/carbon/human), "0FF0000660FF000066DC0000000000...")
Walter Bishop (/mob/living/carbon/human): Transform()

What I know: He was a changeling transforming between DNAs, apparently he somehow got a set of hair DNA that was literally off the charts for determining what hairstyle it was

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@781 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-01-05 02:12:37 +00:00
parent 2e1948eb1c
commit cc51d5eeb1
9 changed files with 39 additions and 33 deletions

View File

@@ -138,9 +138,10 @@ obj
sd_SetLuminosity(3)
Del()
loc:active_hotspot = null
src.sd_SetLuminosity(0)
loc = null
if (!istype(loc, /turf/space))
loc:active_hotspot = null
src.sd_SetLuminosity(0)
loc = null
..()