Hopefully fixed aftergame() not working