Page 1 of 1

[Bilka] rendering.draw_sprite save/load issue

Posted: Fri May 03, 2019 5:35 pm
by MewMew
A sprite drawn with a file path like "file/picture.png", disappears after saving and reloading the game.

For example:
rendering.draw_sprite({sprite = "file/picture.png", target = {0,0}, surface = game.surfaces.nauvis, orientation = 0, x_scale = 1, y_scale = 1, render_layer = "ground-tile"})

How can i make it stay?

Re: rendering.draw_sprite save/load issue

Posted: Fri May 03, 2019 6:02 pm
by Bilka
Hey, this is a bug so I moved this to bug reports.

Re: [Bilka] rendering.draw_sprite save/load issue

Posted: Wed May 08, 2019 8:27 pm
by Bilka
Thanks for the report, fixed for the next version.