fix crash in server on restargame related to clearing server events