From 13a809833b8982ebf8fafbbe4452969cc138a6af Mon Sep 17 00:00:00 2001 From: StargateMC Date: Tue, 18 Feb 2020 20:27:31 +1100 Subject: [PATCH] Re-adding energy readings This was originally only taken out for troubleshooting purposes --- src/app.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.lua b/src/app.lua index 2cdc664..d7ed3b0 100644 --- a/src/app.lua +++ b/src/app.lua @@ -172,7 +172,7 @@ while run do local _, _, x, y = event.pull(1, "touch") -- update control elements - graphics.drawRemoteInfo(4, 17, addressFld.address, "Unavailable") + graphics.drawRemoteInfo(4, 17, addressFld.address, stargate.energyToDial(addressFld.address)) graphics.drawLocalGateInfo(4, 27, stargate.localAddress(), stargate.energyAvailable(), irisState, lastErr) -- exit button