Page 1 of 1

[Rseding91] [1.1.26] Crash with Upgrade planner (UndoQueue::add)

Posted: Tue Mar 09, 2021 2:05 pm
by DaveMcW
This script crashes the game.

Code: Select all

/c planner = game.create_inventory(1)[1]
planner.import_stack("0eNp9jkEKwjAURO8y6xRsKzTmKiIS7LcGzE9If9UScnebRcGVu5nhwbyMJU7JjnSNT8tMCSZjJhHH01yztzFS2uI5456Cr5uskWBALE5WKLD1tb9DGImb24NmQVGQ8Ad2Kfygjkf6wBzKpRah7WYXa3Yxhdcm4gLDdLo9Dqdu6Hvdaq1L+QIdx0Lx")
game.player.surface.create_entity{name = "wooden-chest", force = game.player.force, position = {0.5, 0.5}}
game.player.surface.upgrade_area{area = {{0, 0}, {1, 1}}, force = game.player.force, item = planner}
Log file

Re: [1.1.26] Crash with Upgrade planner (UndoQueue::add)

Posted: Tue Mar 09, 2021 3:30 pm
by Rseding91
Thanks for the report. It's now fixed for the next release.