[Rseding91] [2.0.65] on_player_setup_blueprint mapping nil on ghosts attached to corpses

This subforum contains all the issues which we already resolved.
User avatar
Quezler
Filter Inserter
Filter Inserter
Posts: 268
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

[Rseding91] [2.0.65] on_player_setup_blueprint mapping nil on ghosts attached to corpses

Post by Quezler »

- /c script.on_event(defines.events.on_player_setup_blueprint, function(event) game.print(table_size(event.mapping.get())) end)
- place 1 ghost and 2 real entities
- /c game.player.selected.die() on one of the real ones
- make a copy/blueprint selection of each entity individually
- notice that the ghost of the corpse prints zero
08-23-2025, 16-49-46.png
08-23-2025, 16-49-46.png (1.41 MiB) Viewed 950 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16109
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [2.0.65] on_player_setup_blueprint mapping nil on ghosts attached to corpses

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”