mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 07:43:01 +01:00
Update ScTileElement.cpp: fix typos (#21463)
This commit is contained in:
@@ -449,7 +449,7 @@ namespace OpenRCT2::Scripting
|
||||
}
|
||||
else
|
||||
{
|
||||
scriptEngine.LogPluginInfo("Cannot set 'rideType' property, tile element is not a TrackElement.");
|
||||
scriptEngine.LogPluginInfo("Cannot read 'rideType' property, tile element is not a TrackElement.");
|
||||
duk_push_null(ctx);
|
||||
}
|
||||
return DukValue::take_from_stack(ctx);
|
||||
@@ -566,7 +566,7 @@ namespace OpenRCT2::Scripting
|
||||
break;
|
||||
}
|
||||
default:
|
||||
throw DukException() << "Cannot set 'rideType' property, tile element is not a TrackElement, "
|
||||
throw DukException() << "Cannot set 'sequence' property, tile element is not a TrackElement, "
|
||||
"LargeSceneryElement, or EntranceElement.";
|
||||
}
|
||||
}
|
||||
@@ -716,7 +716,7 @@ namespace OpenRCT2::Scripting
|
||||
}
|
||||
default:
|
||||
throw DukException()
|
||||
<< "Cannot set 'station' property, tile element is not PathElement, TrackElement, or EntranceElement";
|
||||
<< "Cannot read 'station' property, tile element is not PathElement, TrackElement, or EntranceElement";
|
||||
}
|
||||
}
|
||||
catch (const DukException& e)
|
||||
|
||||
Reference in New Issue
Block a user