1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Fix all uses of RideId

This commit is contained in:
ζeh Matt
2022-01-19 16:54:57 +02:00
parent 0656df4a65
commit 4554d6d883
41 changed files with 159 additions and 159 deletions

View File

@@ -892,7 +892,7 @@ DukValue ScriptEngine::GameActionResultToDuk(const GameAction& action, const Gam
if (result.Error == GameActions::Status::Ok)
{
const auto rideIndex = result.GetData<RideId>();
obj.Set("ride", EnumValue(rideIndex));
obj.Set("ride", rideIndex.ToUnderlying());
}
}
else if (action.GetType() == GameCommand::HireNewStaffMember)