Asphalt Roads

by Zetty

Asphalt pavement for increased vehicle speed. Also includes tiles for lane marking (single and double lines) and various hazard areas.

Content
3 years ago
1.1
20.3K
Transportation

b Crash when using Reconvert Tiles

2 years ago
(updated 2 years ago)

Using the "Reconvert Tiles" hotkey while a non-basic tile is in hand crashes the game. (v 1.1.38, build 58907) The error is as follows:

LuaPlayer doesn't contain key clean_cursor.
stack traceback:
    [C]: in function '__index'
    __AsphaltPaving__/tile_reconverter.lua:28: in function 'revert_tiles'
    __AsphaltPaving__/control.lua:46: in function <__AsphaltPaving__/control.lua:44>

In version 1.1.0, the method LuaPlayer::clean_cursor was renamed to clear_cursor. Updating the reference at tile_reconverter.lua:28 fixes the issue.

Edit: for anyone who needs a workaround until this get fixed, you don't have to use the Reconvert Tiles hotkey. You can just unbind it. You always get base asphalt back when picking it up. The hotkey was just a more convenient way to do it. (Or you can patch it yourself, if you know how.)

New response