other.key_door_messagetime = time + 2;
} else if (other.key_door_messagetime <= time) {
// no keys were given
play2(other, self.noise2);
other.key_door_messagetime = time + 2;
} else if (other.key_door_messagetime <= time) {
// no keys were given
play2(other, self.noise2);