christopho/solarus#225 is now fixed so you can remove the == true.
nil now means false in map:set_doors_open(), as expected.