Skip to content

Item name/image check for Shops and faction leader shops too. #31

@guilemouse

Description

@guilemouse

Issue: This is just a hunch but, I remember seeing faction leaders and/or shops selling items that didn't have an image or something similar. Might be good to double down on checking it for no _name and no _pic variables when spawning a list of items for players to buy.

Solution: See update on #28, (faed39e) there was fix applied for import/warehouses from that commit. All it needs is to replicate it via shop owners and faction leaders too.

Add this

if (!(_pic isEqualTo "") && !(_name isEqualTo "")) then { ....};

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions