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