Open J-Pinelli opened 7 years ago
Pretty sure the issue is at around in src/world/tile_inspector.c Line 252 (Found by ahudson2014)
tile_inspector_paste_element_at() function
The game is creating a new element with a pointer to the original, so when you delete the clone, it also deletes the original and its ID, somehow crashing the game. I think the fix would be creating an entirely new element(i.e. sign) instead of having the pointer. Probably more inefficient, but easier.
This does not cause the game to crash in Ubuntu 16.04 for some reason
I stand corrected, when I use the bulldoze tool to delete the underlying path the game does crash
OS: Windows 10 Version: ? Commit/Build: ?
Deleting a sign with the bulldozer after copying it with tile inspector turned on will crash the game
Steps to reproduce:
Screenshots / Video: