Clean up door tops if fire destroys bottom.
authorAuke Kok <sofar@foo-projects.org>
Sat, 12 Mar 2016 06:11:39 +0000 (22:11 -0800)
committerparamat <mat.gregory@virginmedia.com>
Sun, 13 Mar 2016 04:49:21 +0000 (04:49 +0000)
commitdfee51c21e1131c9c80fc7382b000954962f8b49
tree2cbf489bf853526e0136e03b755dbc6af7d300ca
parent20053d6b52f3f500a0a96a20cbf0a08c439c4142
Clean up door tops if fire destroys bottom.

Fixes #909. Door tops are never flammable.

This doesn't guard yet against a voxelmanip removing the top node,
but that is less of an issue since if a voxelmanip removes the top,
then the bottom part remains functional and visibly intact. If the
voxelmanip removes the bottom part, but not the top, then this patch
makes it clean up the top just fine.
mods/doors/init.lua