fix palico link to exclude missing weapons

This commit is contained in:
Bryce Allen
2015-08-06 00:36:14 -05:00
parent 8f2b1b7c2d
commit 7c609b1df5

View File

@@ -254,7 +254,7 @@ function set_horn_melodies_title(weapon_data) {
function get_calculating_palico_setup(weapon_data) {
// NB: load_calculating_palico_data must be called first
var name = weapon_data["name"];
if (! name in PALICO_ID) {
if (! (name in PALICO_ID)) {
return "";
}