mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 20:12:50 +02:00
fix tpt.el.X.name commands
This commit is contained in:
@@ -462,7 +462,7 @@ int luacon_elementwrite(lua_State* l){
|
|||||||
free(key);
|
free(key);
|
||||||
return luaL_error(l, "Name too long");
|
return luaL_error(l, "Name too long");
|
||||||
}
|
}
|
||||||
if(luacon_ci->GetParticleType(tempstring) == -1)
|
if(luacon_ci->GetParticleType(tempstring) != -1)
|
||||||
{
|
{
|
||||||
free(tempstring);
|
free(tempstring);
|
||||||
free(key);
|
free(key);
|
||||||
|
Reference in New Issue
Block a user