Fixes a couple runtimes and weird add_reagents/add_reagents_list that was silly

This commit is contained in:
Tastyfish
2016-05-12 19:22:07 -04:00
parent d2ed3f3e35
commit b77541bc9b
3 changed files with 4 additions and 3 deletions
@@ -520,7 +520,7 @@ var/global/list/default_medbay_channels = list(
// what the range is in which mobs will hear the radio
// returns: -1 if can't receive, range otherwise
if (wires.IsIndexCut(WIRE_RECEIVE))
if (!wires || wires.IsIndexCut(WIRE_RECEIVE))
return -1
if(!listening)
return -1