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; }