Comment #8 on issue 1537 by
mmarcott...@gmail.com: Sliding doors: won't
close
http://code.google.com/p/corsix-th/issues/detail?id=1537
I tried to fix this but couldn't reproduce. I loaded the attached saved
game, but the bug has already happened in it and I could not find the cause.
The "broken" door in the saved game thinks it still has an occupant
(self.occupant_count == 1) but no one is there. Someone had to leave the
door for it to close, but that occupant didn't trigger the required event
(object:onOccupantChange(-1)) for some reason.
When someone goes by it "self.occupant_count" increases and decreases
normally, but it never reaches 0 again, so it won't close.
If we could reliably reproduce it, this would be an easy fix.