mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-08 23:10:44 +02:00
fix single-particle PSTN bug
This commit is contained in:
@@ -104,7 +104,7 @@ int Element_PSTN::update(UPDATE_FUNC_ARGS)
|
|||||||
r = pmap[y+ry][x+rx];
|
r = pmap[y+ry][x+rx];
|
||||||
if (!r)
|
if (!r)
|
||||||
continue;
|
continue;
|
||||||
if (TYP(r) == PT_PSTN)
|
if (TYP(r) == PT_PSTN && !parts[ID(r)].life)
|
||||||
{
|
{
|
||||||
bool movedPiston = false;
|
bool movedPiston = false;
|
||||||
bool foundEnd = false;
|
bool foundEnd = false;
|
||||||
|
Reference in New Issue
Block a user