This should fix the following runtimes:

The following runtime has occured 18248 time(s).
runtime error: Cannot execute null.IsIndexCut().
proc name: isWireCut (/obj/item/device/radio/proc/isWireCut)
  source file: radio.dm,185
  usr: Azerthene Severn (/mob/living/carbon/human)
  src: the security radio headset (/obj/item/device/radio/headset/headset_sec/department/med)

The following runtime has occured 165 time(s).
runtime error: bad index
proc name: recalculateChannels (/obj/item/device/radio/headset/proc/recalculateChannels)
  source file: headset.dm,261
  usr: Burningface (/mob/new_player)
  src: the security radio headset (/obj/item/device/radio/headset/headset_sec/department/engi)

It also makes the mirror automatically shave women when used.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5760 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2013-02-22 02:06:02 +00:00
parent 3d57a97b66
commit f77a71fc04
2 changed files with 3 additions and 0 deletions
@@ -88,6 +88,7 @@ var/list/sec_departments = list("engineering", "supply", "medical", "science")
return 1
/obj/item/device/radio/headset/headset_sec/department/New()
..()
if(radio_controller)
initialize()
recalculateChannels()