Minor runtimes fixes. (#25566)

* Fixes power monitor runtime

* Fixes reagent data runtime

* Nullspace is no smoking zone
This commit is contained in:
AnturK
2017-03-30 00:21:51 +02:00
committed by Leo
parent d60a1a48cb
commit 1b138562b4
3 changed files with 4 additions and 2 deletions

View File

@@ -81,7 +81,7 @@
if(istype(A))
data["areas"] += list(list(
"name" = A.area.name,
"charge" = A.cell.percent(),
"charge" = A.cell ? A.cell.percent() : 0,
"load" = A.lastused_total,
"charging" = A.charging,
"eqp" = A.equipment,