mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 12:02:40 +02:00
allow prop tool to parse particle type for tmp
This commit is contained in:
@@ -117,7 +117,7 @@ void PropertyWindow::SetProperty()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
int type;
|
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;
|
v = type;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user