diff --git a/docs/notes/bugfix-19630.md b/docs/notes/bugfix-19630.md new file mode 100644 index 00000000000..71052baff84 --- /dev/null +++ b/docs/notes/bugfix-19630.md @@ -0,0 +1 @@ +# Make sure setting the iphoneSetAudioCategory is respected diff --git a/engine/src/mblhandlers.cpp b/engine/src/mblhandlers.cpp index c5932c9df49..899eaf0bf3b 100644 --- a/engine/src/mblhandlers.cpp +++ b/engine/src/mblhandlers.cpp @@ -2627,7 +2627,7 @@ Exec_stat MCHandleSetAudioCategory(void *context, MCParameter *p_parameters) t_category = kMCSoundAudioCategoryUnknown; if (t_success) { - MCSoundAudioCategoryFromString(*t_category_string); + t_category = MCSoundAudioCategoryFromString(*t_category_string); } if (t_success)