fix bug #21485: Time Schedule Menu button crashes game