forked from ArmaOverthrow/Overthrow
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
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
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation