mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
allow prop tool to parse particle type for tmp
This commit is contained in:
@@ -117,7 +117,7 @@ void PropertyWindow::SetProperty()
|
||||
else
|
||||
{
|
||||
int type;
|
||||
if (properties[property->GetOption().second].Type == StructProperty::ParticleType && (type = sim->GetParticleType(value.ToUtf8())) != -1)
|
||||
if ((type = sim->GetParticleType(value.ToUtf8())) != -1)
|
||||
{
|
||||
v = type;
|
||||
|
||||
|
Reference in New Issue
Block a user