Update doors_and_gates.lua

....after a mistake from with copying the wrong code...