better if statement

This commit is contained in:
Diavolo 2021-04-25 19:49:34 +02:00
parent 0c4146162a
commit 04b164cd9f

View File

@ -352,12 +352,10 @@ namespace command
//const auto entry = game::DB_FindXAssetEntry(type, asset_name); //const auto entry = game::DB_FindXAssetEntry(type, asset_name);
//TODO: display which zone the asset is from //TODO: display which zone the asset is from
if (!filter.empty() && !game_console::match_compare(filter, asset_name, false)) if (!filter.empty() && game_console::match_compare(filter, asset_name, false))
{ {
return; console::info("%s\n", asset_name);
} }
console::info("%s\n", asset_name);
}, true); }, true);
} }
}); });