Map Tag Generator

by majoca

Select entities and the generator will create a map tag representing their purpose. Works with many types of entities. If crafting machines are selected, the generator will create the tag based on their final products. Also adds a tool for erasing map tags.

Utilities
3 days ago
1.1 - 2.0
12.8K

b [Resolved] Crash

2 years ago

Using the delete tags tool, the game crash if I selected some tag not created by this mod!
I tested in the tags created by the mod YARM (https://mods.factorio.com/mod/YARM)


883.530 Error MainLoop.cpp:1284: Exception at tick 107427447: The mod Map Tag Generator (1.2.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event map-tag-generator::on_player_selected_area (ID 51)
map-tag-generator/map_tag_generator/gui/util.lua:85: attempt to index field 'last_user' (a nil value)
stack traceback:
map-tag-generator/map_tag_generator/gui/util.lua:85: in function 'tag_button_tooltip_from_lua_tag'
map-tag-generator/map_tag_generator/gui/util.lua:141: in function 'tag_button_from_lua_tag'
map-tag-generator/map_tag_generator/gui/util.lua:152: in function 'tag_buttons_from_array'
map-tag-generator/map_tag_generator/gui/delete_tags.lua:93: in function 'build_window'
...nerator__/map_tag_generator/event_handlers/selection.lua:159: in function <...nerator__/map_tag_generator/event_handlers/selection.lua:16>


Thanks.

2 years ago

Thanks for reporting this! The bug will be fixed in the next update.

New response