mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
CommonClient: fix 0.4.2 EnergyLink datastore key
This commit is contained in:
@@ -833,7 +833,7 @@ async def process_server_cmd(ctx: CommonContext, args: dict):
|
|||||||
|
|
||||||
elif cmd == "SetReply":
|
elif cmd == "SetReply":
|
||||||
ctx.stored_data[args["key"]] = args["value"]
|
ctx.stored_data[args["key"]] = args["value"]
|
||||||
if args["key"] == "EnergyLink":
|
if args["key"].startswith("EnergyLink"):
|
||||||
ctx.current_energy_link_value = args["value"]
|
ctx.current_energy_link_value = args["value"]
|
||||||
if ctx.ui:
|
if ctx.ui:
|
||||||
ctx.ui.set_new_energy_link_value()
|
ctx.ui.set_new_energy_link_value()
|
||||||
|
Reference in New Issue
Block a user