mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user