[Entities] Fix model selection
This commit is contained in:
parent
c02eede3f4
commit
13eb5ba831
@ -35,7 +35,7 @@ namespace Utils
|
|||||||
{
|
{
|
||||||
std::string model = entity["model"];
|
std::string model = entity["model"];
|
||||||
|
|
||||||
if(!model.empty() && model[0] != '*') // Skip brushmodels
|
if(!model.empty() && model[0] != '*' && model[0] != '?') // Skip brushmodels
|
||||||
{
|
{
|
||||||
if (std::find(models.begin(), models.end(), model) == models.end())
|
if (std::find(models.begin(), models.end(), model) == models.end())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user