1
0
Fork 0

Link fuel truck and fuel panel

This commit is contained in:
Jonathan Redpath 2021-12-06 20:00:08 +00:00
parent e2acf228f8
commit 27bf3f8f5e

View file

@ -27,6 +27,9 @@ var fuelSvc = {
if (me.enable.getValue() and me.connect.getValue()) { if (me.enable.getValue() and me.connect.getValue()) {
me.operate.setBoolValue(1); me.operate.setBoolValue(1);
} else {
screen.log.write("Fuel truck not connected", 1, 0, 0);
return;
} }
fuelTimer.start(); fuelTimer.start();