1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Refactor explicit constructor usage in RideSetColourSchemeAction

This commit is contained in:
ζeh Matt
2021-10-21 20:16:17 +03:00
parent bb149d471c
commit 1660a5080b

View File

@@ -50,7 +50,7 @@ GameActions::Result::Ptr RideSetColourSchemeAction::Query() const
{
if (!LocationValid(_loc))
{
return MakeResult(GameActions::Status::InvalidParameters, STR_LAND_NOT_OWNED_BY_PARK);
return MakeResult(GameActions::Status::InvalidParameters, STR_CANT_SET_COLOUR_SCHEME, STR_LAND_NOT_OWNED_BY_PARK);
}
return std::make_unique<GameActions::Result>();
}