Crew monitoring program fix (#3026)

Fixes an issue where the crew monitoring map would say it was unable to connect to TCOMs when there was no one with suit sensors on but it could still connect to TCOMs.
This commit is contained in:
Ron
2017-07-14 19:49:51 +03:00
committed by skull132
parent 687e56a8e0
commit 0f518d7a87
2 changed files with 7 additions and 1 deletions
@@ -18,9 +18,11 @@
// This checks if TCOMS is online using the test proc. If it isn't, the suit sensor data isn't loaded.
var/datum/signal/signal
signal = telecomms_process_active()
data["signal"] = 0
if(signal.data["done"] == 1)
data["isAI"] = isAI(user)
data["crewmembers"] = list()
data["signal"] = 1
for(var/z_level in map_levels)
data["crewmembers"] += crew_repository.health_data(z_level)