mirror of https://github.com/OpenRCT2/OpenRCT2.git
Error message titles for rides are composed from the ride name string id and therefore require passing the error message args.
This commit is contained in:
parent
bcabc1d807
commit
3c89d5ec12
|
@ -59,7 +59,7 @@ std::string GameActionResult::GetErrorTitle() const
|
|||
}
|
||||
else
|
||||
{
|
||||
title = format_string(ErrorTitle.GetStringId(), nullptr);
|
||||
title = format_string(ErrorTitle.GetStringId(), ErrorMessageArgs.data());
|
||||
}
|
||||
return title;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue