diff --git a/app/hlds/parser.py b/app/hlds/parser.py index c1bb88d..3f46b3e 100644 --- a/app/hlds/parser.py +++ b/app/hlds/parser.py @@ -57,6 +57,15 @@ class HldsSemanticActions: for option in first_single_choice.options: option.price += dish.price dish.price = 0 + dishes = list(dishes) + dishes.append(Dish( + "custom", + name="Vrije keuze", + description="Zet wat je wil in comment", + price=0, + tags=[], + choices=[], + )) attributes = {att["key"]: att["value"] for att in ast["attributes"]}