mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 04:01:56 +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];
|
||||
if (!r)
|
||||
continue;
|
||||
if (TYP(r) == PT_PSTN)
|
||||
if (TYP(r) == PT_PSTN && !parts[ID(r)].life)
|
||||
{
|
||||
bool movedPiston = false;
|
||||
bool foundEnd = false;
|
||||
|
Reference in New Issue
Block a user