Factorio: rename "data" to "keys" to make EnergyLink work
This commit is contained in:
parent
7ca6f24e6c
commit
73b14d3826
|
@ -109,7 +109,7 @@ class FactorioContext(CommonContext):
|
||||||
item_name in args["checked_locations"]})
|
item_name in args["checked_locations"]})
|
||||||
if cmd == "Connected" and self.energy_link_increment:
|
if cmd == "Connected" and self.energy_link_increment:
|
||||||
asyncio.create_task(self.send_msgs([{
|
asyncio.create_task(self.send_msgs([{
|
||||||
"cmd": "SetNotify", "data": ["EnergyLink"]
|
"cmd": "SetNotify", "keys": ["EnergyLink"]
|
||||||
}]))
|
}]))
|
||||||
elif cmd == "SetReply":
|
elif cmd == "SetReply":
|
||||||
if args["key"] == "EnergyLink":
|
if args["key"] == "EnergyLink":
|
||||||
|
|
Loading…
Reference in New Issue