Trap Bug possible fixed

Bug that caused the game to crash should be fixed