summaryrefslogtreecommitdiffstats
path: root/source/Piston.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Piston.cpp')
-rw-r--r--source/Piston.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Piston.cpp b/source/Piston.cpp
index 7ffa9febd..058f92a0e 100644
--- a/source/Piston.cpp
+++ b/source/Piston.cpp
@@ -173,6 +173,7 @@ void cPiston::RetractPiston( int pistx, int pisty, int pistz )
)
{
// These cannot be moved by the sticky piston, bail out
+ m_World->SetBlock(pistx, pisty, pistz, E_BLOCK_AIR, 0);
return;
}