Skip to content

Commit

Permalink
fix: replace deprecated getObject function (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmagic2020 authored Aug 23, 2024
1 parent c254105 commit e37d81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entityViewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ namespace EntityViewer {
]);


const rideObject = context.getObject("ride", car.rideObject);
const rideObject = objectManager.getObject("ride", car.rideObject);
const vehicleObject = rideObject.vehicles[car.vehicleObject];

data = data.concat([
Expand Down

0 comments on commit e37d81a

Please sign in to comment.