mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-06-25 18:14:43 -04:00
Fix achievement sound not playing in certain conditions. (#373)
* Fix achievement sound not playing in cutscenes. * Prevent achievement overlay from showing if sounds cannot be played.
This commit is contained in:
@@ -10,12 +10,12 @@ namespace xdbf
|
||||
{
|
||||
inline std::string& FixInvalidSequences(std::string& str)
|
||||
{
|
||||
static std::vector<std::string> invalidSequences =
|
||||
static std::array<std::string_view, 1> invalidSequences =
|
||||
{
|
||||
"\xE2\x80\x99"
|
||||
};
|
||||
|
||||
static std::vector<std::string> replaceSequences =
|
||||
static std::array<std::string_view, 1> replaceSequences =
|
||||
{
|
||||
"'"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user