1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Update ScTileElement.cpp: fix typos (#21463)

This commit is contained in:
Stephan Spengler
2024-02-26 22:10:47 +01:00
committed by GitHub
parent 70461be037
commit bcff6f5a7e

View File

@@ -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)