diff --git a/Luxe/blocks/ui/adventure.wren b/Luxe/blocks/ui/adventure.wren index 05f4cc1..a98b9cf 100644 --- a/Luxe/blocks/ui/adventure.wren +++ b/Luxe/blocks/ui/adventure.wren @@ -327,6 +327,7 @@ class UiAdventure{ UILayout.set_margin(_ent, name, 2, 1, 0, 1) var amount = NumberField.create(_ent) + NumberField.set_value(amount, adventure.resources.get(resource["name"])) UILayout.set_margin(_ent, amount, 0, 1, 2, 1) Control.child_add(item, amount) //change resource data