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:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user