X2CommunityCore / X2ModBuildCommon

An improved XCOM 2 mod build system
MIT License
5 stars 5 forks source link

Fix build error when cooking maps #51

Closed pledbrook closed 3 years ago

pledbrook commented 3 years ago

sfCollectionOnlyMapNames was being overwritten with a potentially null value if there were maps in 'ContentForCook/Maps'. This wraps the right-hand expression with @() to ensure the null value is converted to an empty array.

Fixes #50.