I forgot this function in gameLogic