Page 1 of 1

[0.17.54] Clone tool does not clone LuaRendering objects

Posted: Sat Jul 06, 2019 1:50 pm
by DaveMcW
Steps to reproduce:

1. Create a LuaRendering object.

Code: Select all

/c
furnace = game.player.surface.create_entity{name="stone-furnace", position={0,0}, force=game.player.force}
rendering.draw_sprite{sprite="virtual-signal/signal-check", surface=furnace.surface, target=furnace}
2. Enter map editor and clone the area.


Expected result: The render object is cloned too.

Actual result: The render object is not cloned.

Re: [0.17.54] Clone tool does not clone LuaRendering objects

Posted: Sat Jul 06, 2019 2:22 pm
by Rseding91
Thanks for the report however cloning specifically does not clone those kinds of things. It only does entities, tiles, and decoratives.