Fix broken door protection.
authorAuke Kok <sofar@foo-projects.org>
Sat, 20 Feb 2016 08:41:22 +0000 (00:41 -0800)
committerparamat <mat.gregory@virginmedia.com>
Tue, 23 Feb 2016 20:34:23 +0000 (20:34 +0000)
commit6b055ae18ad6af800bd953886547477b0ac3c1eb
tree49eceae71e7c576a1727c1ca361b0b0e04879612
parent4c9944b263d31a8511a252f758e1bedf28559f7a
Fix broken door protection.

A previous fix overwrote the `def` variable during registration,
causing protected doors no longer to be placed with protection.
mods/doors/init.lua