Skip to content

Commit

Permalink
Remove path in map text
Browse files Browse the repository at this point in the history
  • Loading branch information
DSantosO authored and bernatx committed Jul 29, 2021
1 parent f510803 commit bc386b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PythonAPI/examples/manual_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ def tick(self, world, clock):
'Client: % 16.0f FPS' % clock.get_fps(),
'',
'Vehicle: % 20s' % get_actor_display_name(world.player, truncate=20),
'Map: % 20s' % world.map.name,
'Map: % 20s' % world.map.name.split('/')[-1],
'Simulation time: % 12s' % datetime.timedelta(seconds=int(self.simulation_time)),
'',
'Speed: % 15.0f km/h' % (3.6 * math.sqrt(v.x**2 + v.y**2 + v.z**2)),
Expand Down

0 comments on commit bc386b3

Please sign in to comment.