Data extraction from Legion query

Hello,
i have problem to extract properly data.
In the following links, i want to display only stock_gold value.
It does work, but in a dirty way.
I need it to continue a game jam project.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=cb664ac43a551bba35cbf0f04fcecac2

Have you tried using Deref?

&*foo[0].0

You should probably ask legion questions directly in amethyst's discord.

thank you Leudz, it works, i'll try discord

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.