cataclysmDDA: filter out things that do not have for{Tiles,Curses} attrs

+4 -2
+4 -2
pkgs/games/cataclysm-dda/pkgs/default.nix
··· 19 if isNull build then 20 true 21 else if build.isTiles then 22 - mod.forTiles 23 else 24 - mod.forCurses; 25 in 26 27 lib.makeExtensible (_: pkgs')
··· 19 if isNull build then 20 true 21 else if build.isTiles then 22 + mod.forTiles or false 23 + else if build.isCurses then 24 + mod.forCurses or false 25 else 26 + false; 27 in 28 29 lib.makeExtensible (_: pkgs')