Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/fa-info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,8 @@ local function ent_info_filters(ctx)
ctx.message:list_item()
if first then ctx.message:fragment("Filters for") end
first = false
--We seem to be getting string names in 2.0; lookup the actual prototype to use
if type(proto) == "string" then proto = prototypes.item[proto] end
ctx.message:fragment(Localising.get_localised_name_with_fallback(proto))
end
end
Expand Down