Checking if game is already inactive before setting to inactive and adding it to inactive array