From 15de9559e9ca646d962d8f5793569c00468201f1 Mon Sep 17 00:00:00 2001 From: camila314 <47485054+camila314@users.noreply.github.com> Date: Tue, 5 Mar 2024 23:46:35 -0600 Subject: [PATCH] platform is better now --- src/member.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/member.hpp b/src/member.hpp index ab046fa..344d849 100644 --- a/src/member.hpp +++ b/src/member.hpp @@ -59,6 +59,8 @@ namespace broma { static void apply(T& input, Root* root, ScratchData* scratch) { if (scratch->wip_platform_block.has_value()) scratch->wip_field.get_as()->platform = scratch->wip_platform_block.value(); + else + scratch->wip_field.get_as()->platform = Platform::None; scratch->wip_field.get_as()->type = scratch->wip_type; }