Skip to content

Commit

Permalink
FIX: target_basic:62 crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Igigog committed Jun 3, 2021
1 parent c545ea9 commit b13cf88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamedata/scripts/igi_target_basic.script
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ local function fetch_item_description(objects, item_type)
-- local desc_target = igi_db.TEXT_HEADER..string.match(item_type, "^(%a+)")

factions[#factions+1] = parent_npc and alife_character_community(parent_npc) or nil
targets[#targets+1] = parent_npc and parent_npc:character_name()
targets[#targets+1] = parent_npc and parent_npc:character_name() or nil
locations[#locations+1] = igi_helper.get_object_location_description(se_obj)
end
return igi_models.create_DescriptionData(factions, targets, locations)
Expand Down

0 comments on commit b13cf88

Please sign in to comment.