mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
better if statement
This commit is contained in:
parent
0c4146162a
commit
04b164cd9f
@ -352,12 +352,10 @@ namespace command
|
||||
//const auto entry = game::DB_FindXAssetEntry(type, asset_name);
|
||||
//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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user